tooluniverse 1.0.6__py3-none-any.whl → 1.0.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tooluniverse might be problematic. Click here for more details.

Files changed (823) hide show
  1. tooluniverse/__init__.py +31 -0
  2. tooluniverse/agentic_tool.py +40 -4
  3. tooluniverse/arxiv_tool.py +2 -6
  4. tooluniverse/base_tool.py +174 -25
  5. tooluniverse/biorxiv_tool.py +35 -16
  6. tooluniverse/cellosaurus_tool.py +1332 -0
  7. tooluniverse/compose_scripts/enhanced_multi_agent_literature_search.py +310 -0
  8. tooluniverse/compose_scripts/multi_agent_literature_search.py +794 -0
  9. tooluniverse/compose_scripts/tool_graph_generation.py +68 -35
  10. tooluniverse/compose_scripts/tool_metadata_generator.py +205 -105
  11. tooluniverse/compose_tool.py +93 -8
  12. tooluniverse/core_tool.py +46 -44
  13. tooluniverse/crossref_tool.py +89 -4
  14. tooluniverse/data/agentic_tools.json +1271 -1179
  15. tooluniverse/data/alphafold_tools.json +356 -105
  16. tooluniverse/data/arxiv_tools.json +88 -81
  17. tooluniverse/data/biorxiv_tools.json +69 -64
  18. tooluniverse/data/cellosaurus_tools.json +260 -0
  19. tooluniverse/data/chembl_tools.json +27 -12
  20. tooluniverse/data/clinicaltrials_gov_tools.json +377 -302
  21. tooluniverse/data/compose_tools.json +123 -16
  22. tooluniverse/data/core_tools.json +107 -99
  23. tooluniverse/data/crossref_tools.json +131 -63
  24. tooluniverse/data/dailymed_tools.json +17 -3
  25. tooluniverse/data/dataset_tools.json +1031 -588
  26. tooluniverse/data/dblp_tools.json +135 -64
  27. tooluniverse/data/disease_target_score_tools.json +20 -10
  28. tooluniverse/data/doaj_tools.json +133 -87
  29. tooluniverse/data/embedding_tools.json +362 -299
  30. tooluniverse/data/enrichr_tools.json +34 -27
  31. tooluniverse/data/europe_pmc_tools.json +108 -16
  32. tooluniverse/data/fatcat_tools.json +71 -66
  33. tooluniverse/data/fda_drug_adverse_event_tools.json +1061 -445
  34. tooluniverse/data/fda_drug_labeling_tools.json +6858 -6901
  35. tooluniverse/data/finder_tools.json +32 -37
  36. tooluniverse/data/gene_ontology_tools.json +19 -7
  37. tooluniverse/data/gwas_tools.json +1720 -959
  38. tooluniverse/data/hal_tools.json +69 -64
  39. tooluniverse/data/hpa_tools.json +53 -14
  40. tooluniverse/data/humanbase_tools.json +51 -43
  41. tooluniverse/data/idmap_tools.json +76 -70
  42. tooluniverse/data/literature_search_tools.json +306 -0
  43. tooluniverse/data/mcp_client_tools_example.json +122 -107
  44. tooluniverse/data/medlineplus_tools.json +50 -10
  45. tooluniverse/data/medrxiv_tools.json +69 -64
  46. tooluniverse/data/molecule_2d_tools.json +134 -0
  47. tooluniverse/data/molecule_3d_tools.json +164 -0
  48. tooluniverse/data/monarch_tools.json +112 -110
  49. tooluniverse/data/odphp_tools.json +389 -119
  50. tooluniverse/data/openaire_tools.json +89 -79
  51. tooluniverse/data/openalex_tools.json +100 -31
  52. tooluniverse/data/opentarget_tools.json +1457 -1372
  53. tooluniverse/data/osf_preprints_tools.json +77 -73
  54. tooluniverse/data/packages/bioinformatics_core_tools.json +40 -10
  55. tooluniverse/data/packages/cheminformatics_tools.json +20 -5
  56. tooluniverse/data/packages/genomics_tools.json +36 -9
  57. tooluniverse/data/packages/machine_learning_tools.json +36 -9
  58. tooluniverse/data/packages/scientific_computing_tools.json +20 -5
  59. tooluniverse/data/packages/single_cell_tools.json +20 -5
  60. tooluniverse/data/packages/structural_biology_tools.json +16 -4
  61. tooluniverse/data/packages/visualization_tools.json +20 -5
  62. tooluniverse/data/pmc_tools.json +111 -103
  63. tooluniverse/data/protein_structure_3d_tools.json +138 -0
  64. tooluniverse/data/pubchem_tools.json +37 -12
  65. tooluniverse/data/pubmed_tools.json +126 -58
  66. tooluniverse/data/pubtator_tools.json +68 -60
  67. tooluniverse/data/rcsb_pdb_tools.json +1532 -1221
  68. tooluniverse/data/semantic_scholar_tools.json +55 -22
  69. tooluniverse/data/special_tools.json +8 -6
  70. tooluniverse/data/tool_composition_tools.json +112 -82
  71. tooluniverse/data/unified_guideline_tools.json +707 -0
  72. tooluniverse/data/url_fetch_tools.json +102 -82
  73. tooluniverse/data/uspto_tools.json +49 -30
  74. tooluniverse/data/wikidata_sparql_tools.json +42 -39
  75. tooluniverse/data/xml_tools.json +3274 -3113
  76. tooluniverse/data/zenodo_tools.json +84 -76
  77. tooluniverse/dblp_tool.py +76 -6
  78. tooluniverse/default_config.py +13 -0
  79. tooluniverse/doaj_tool.py +76 -17
  80. tooluniverse/doctor.py +48 -0
  81. tooluniverse/europe_pmc_tool.py +132 -17
  82. tooluniverse/exceptions.py +170 -0
  83. tooluniverse/execute_function.py +784 -362
  84. tooluniverse/fatcat_tool.py +0 -1
  85. tooluniverse/generate_tools.py +198 -0
  86. tooluniverse/hal_tool.py +1 -1
  87. tooluniverse/llm_clients.py +101 -124
  88. tooluniverse/mcp_tool_registry.py +4 -1
  89. tooluniverse/medrxiv_tool.py +32 -13
  90. tooluniverse/memory_manager.py +166 -0
  91. tooluniverse/molecule_2d_tool.py +274 -0
  92. tooluniverse/molecule_3d_tool.py +441 -0
  93. tooluniverse/odphp_tool.py +49 -14
  94. tooluniverse/openaire_tool.py +5 -20
  95. tooluniverse/openalex_tool.py +34 -0
  96. tooluniverse/osf_preprints_tool.py +1 -1
  97. tooluniverse/pmc_tool.py +54 -56
  98. tooluniverse/protein_structure_3d_tool.py +295 -0
  99. tooluniverse/pubmed_tool.py +69 -6
  100. tooluniverse/remote/boltz/boltz_mcp_server.py +3 -1
  101. tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +3 -1
  102. tooluniverse/semantic_scholar_tool.py +40 -10
  103. tooluniverse/smcp.py +140 -205
  104. tooluniverse/smcp_server.py +97 -55
  105. tooluniverse/tool_registry.py +35 -3
  106. tooluniverse/tools/ADMETAI_predict_BBB_penetrance.py +46 -0
  107. tooluniverse/tools/ADMETAI_predict_CYP_interactions.py +46 -0
  108. tooluniverse/tools/ADMETAI_predict_bioavailability.py +46 -0
  109. tooluniverse/tools/ADMETAI_predict_clearance_distribution.py +49 -0
  110. tooluniverse/tools/ADMETAI_predict_nuclear_receptor_activity.py +49 -0
  111. tooluniverse/tools/ADMETAI_predict_physicochemical_properties.py +49 -0
  112. tooluniverse/tools/ADMETAI_predict_solubility_lipophilicity_hydration.py +49 -0
  113. tooluniverse/tools/ADMETAI_predict_stress_response.py +46 -0
  114. tooluniverse/tools/ADMETAI_predict_toxicity.py +46 -0
  115. tooluniverse/tools/AdvancedCodeQualityAnalyzer.py +63 -0
  116. tooluniverse/tools/AdverseEventICDMapper.py +46 -0
  117. tooluniverse/tools/AdverseEventPredictionQuestionGenerator.py +52 -0
  118. tooluniverse/tools/AdverseEventPredictionQuestionGeneratorWithContext.py +59 -0
  119. tooluniverse/tools/ArXiv_search_papers.py +63 -0
  120. tooluniverse/tools/ArgumentDescriptionOptimizer.py +55 -0
  121. tooluniverse/tools/BioRxiv_search_preprints.py +52 -0
  122. tooluniverse/tools/BiomarkerDiscoveryWorkflow.py +55 -0
  123. tooluniverse/tools/CORE_search_papers.py +67 -0
  124. tooluniverse/tools/CallAgent.py +46 -0
  125. tooluniverse/tools/ChEMBL_search_similar_molecules.py +59 -0
  126. tooluniverse/tools/CodeOptimizer.py +55 -0
  127. tooluniverse/tools/CodeQualityAnalyzer.py +71 -0
  128. tooluniverse/tools/ComprehensiveDrugDiscoveryPipeline.py +49 -0
  129. tooluniverse/tools/Crossref_search_works.py +55 -0
  130. tooluniverse/tools/DBLP_search_publications.py +52 -0
  131. tooluniverse/tools/DOAJ_search_articles.py +55 -0
  132. tooluniverse/tools/DailyMed_get_spl_by_setid.py +52 -0
  133. tooluniverse/tools/DailyMed_search_spls.py +79 -0
  134. tooluniverse/tools/DataAnalysisValidityReviewer.py +49 -0
  135. tooluniverse/tools/DescriptionAnalyzer.py +55 -0
  136. tooluniverse/tools/DescriptionQualityEvaluator.py +59 -0
  137. tooluniverse/tools/DomainExpertValidator.py +63 -0
  138. tooluniverse/tools/DrugSafetyAnalyzer.py +59 -0
  139. tooluniverse/tools/EthicalComplianceReviewer.py +49 -0
  140. tooluniverse/tools/EuropePMC_Guidelines_Search.py +52 -0
  141. tooluniverse/tools/EuropePMC_search_articles.py +52 -0
  142. tooluniverse/tools/ExperimentalDesignScorer.py +55 -0
  143. tooluniverse/tools/FAERS_count_additive_administration_routes.py +52 -0
  144. tooluniverse/tools/FAERS_count_additive_adverse_reactions.py +71 -0
  145. tooluniverse/tools/FAERS_count_additive_event_reports_by_country.py +63 -0
  146. tooluniverse/tools/FAERS_count_additive_reaction_outcomes.py +63 -0
  147. tooluniverse/tools/FAERS_count_additive_reports_by_reporter_country.py +63 -0
  148. tooluniverse/tools/FAERS_count_additive_seriousness_classification.py +63 -0
  149. tooluniverse/tools/FAERS_count_country_by_drug_event.py +63 -0
  150. tooluniverse/tools/FAERS_count_death_related_by_drug.py +49 -0
  151. tooluniverse/tools/FAERS_count_drug_routes_by_event.py +52 -0
  152. tooluniverse/tools/FAERS_count_drugs_by_drug_event.py +63 -0
  153. tooluniverse/tools/FAERS_count_outcomes_by_drug_event.py +63 -0
  154. tooluniverse/tools/FAERS_count_patient_age_distribution.py +49 -0
  155. tooluniverse/tools/FAERS_count_reactions_by_drug_event.py +71 -0
  156. tooluniverse/tools/FAERS_count_reportercountry_by_drug_event.py +63 -0
  157. tooluniverse/tools/FAERS_count_seriousness_by_drug_event.py +63 -0
  158. tooluniverse/tools/FDA_get_abuse_dependence_info_by_drug_name.py +55 -0
  159. tooluniverse/tools/FDA_get_abuse_info_by_drug_name.py +55 -0
  160. tooluniverse/tools/FDA_get_accessories_info_by_drug_name.py +55 -0
  161. tooluniverse/tools/FDA_get_active_ingredient_info_by_drug_name.py +55 -0
  162. tooluniverse/tools/FDA_get_adverse_reactions_by_drug_name.py +55 -0
  163. tooluniverse/tools/FDA_get_alarms_by_drug_name.py +55 -0
  164. tooluniverse/tools/FDA_get_animal_pharmacology_info_by_drug_name.py +55 -0
  165. tooluniverse/tools/FDA_get_assembly_installation_info_by_drug_name.py +55 -0
  166. tooluniverse/tools/FDA_get_boxed_warning_info_by_drug_name.py +55 -0
  167. tooluniverse/tools/FDA_get_brand_name_generic_name.py +52 -0
  168. tooluniverse/tools/FDA_get_calibration_instructions_by_drug_name.py +55 -0
  169. tooluniverse/tools/FDA_get_carcinogenic_mutagenic_fertility_by_drug_name.py +55 -0
  170. tooluniverse/tools/FDA_get_child_safety_info_by_drug_name.py +55 -0
  171. tooluniverse/tools/FDA_get_clinical_pharmacology_by_drug_name.py +55 -0
  172. tooluniverse/tools/FDA_get_clinical_studies_info_by_drug_name.py +55 -0
  173. tooluniverse/tools/FDA_get_contact_for_questions_info_by_drug_name.py +55 -0
  174. tooluniverse/tools/FDA_get_contraindications_by_drug_name.py +55 -0
  175. tooluniverse/tools/FDA_get_controlled_substance_DEA_schedule_info_by_drug_name.py +55 -0
  176. tooluniverse/tools/FDA_get_dear_health_care_provider_letter_info_by_drug_name.py +55 -0
  177. tooluniverse/tools/FDA_get_dependence_info_by_drug_name.py +55 -0
  178. tooluniverse/tools/FDA_get_disposal_info_by_drug_name.py +55 -0
  179. tooluniverse/tools/FDA_get_do_not_use_info_by_drug_name.py +55 -0
  180. tooluniverse/tools/FDA_get_document_id_by_drug_name.py +55 -0
  181. tooluniverse/tools/FDA_get_dosage_and_storage_information_by_drug_name.py +55 -0
  182. tooluniverse/tools/FDA_get_dosage_forms_and_strengths_by_drug_name.py +55 -0
  183. tooluniverse/tools/FDA_get_drug_generic_name.py +46 -0
  184. tooluniverse/tools/FDA_get_drug_interactions_by_drug_name.py +55 -0
  185. tooluniverse/tools/FDA_get_drug_name_by_SPL_ID.py +55 -0
  186. tooluniverse/tools/FDA_get_drug_name_by_adverse_reaction.py +59 -0
  187. tooluniverse/tools/FDA_get_drug_name_by_calibration_instructions.py +59 -0
  188. tooluniverse/tools/FDA_get_drug_name_by_dependence_info.py +59 -0
  189. tooluniverse/tools/FDA_get_drug_name_by_document_id.py +55 -0
  190. tooluniverse/tools/FDA_get_drug_name_by_dosage_info.py +55 -0
  191. tooluniverse/tools/FDA_get_drug_name_by_environmental_warning.py +59 -0
  192. tooluniverse/tools/FDA_get_drug_name_by_inactive_ingredient.py +59 -0
  193. tooluniverse/tools/FDA_get_drug_name_by_info_on_conditions_for_doctor_consultation.py +55 -0
  194. tooluniverse/tools/FDA_get_drug_name_by_labor_and_delivery_info.py +59 -0
  195. tooluniverse/tools/FDA_get_drug_name_by_microbiology.py +59 -0
  196. tooluniverse/tools/FDA_get_drug_name_by_other_safety_info.py +55 -0
  197. tooluniverse/tools/FDA_get_drug_name_by_pharmacodynamics.py +59 -0
  198. tooluniverse/tools/FDA_get_drug_name_by_pharmacogenomics.py +59 -0
  199. tooluniverse/tools/FDA_get_drug_name_by_precautions.py +55 -0
  200. tooluniverse/tools/FDA_get_drug_name_by_pregnancy_or_breastfeeding_info.py +59 -0
  201. tooluniverse/tools/FDA_get_drug_name_by_principal_display_panel.py +59 -0
  202. tooluniverse/tools/FDA_get_drug_name_by_reference.py +55 -0
  203. tooluniverse/tools/FDA_get_drug_name_by_set_id.py +55 -0
  204. tooluniverse/tools/FDA_get_drug_name_by_stop_use_info.py +55 -0
  205. tooluniverse/tools/FDA_get_drug_name_by_storage_and_handling_info.py +55 -0
  206. tooluniverse/tools/FDA_get_drug_name_by_warnings.py +55 -0
  207. tooluniverse/tools/FDA_get_drug_name_from_patient_package_insert.py +59 -0
  208. tooluniverse/tools/FDA_get_drug_names_by_abuse_dependence_info.py +55 -0
  209. tooluniverse/tools/FDA_get_drug_names_by_abuse_info.py +63 -0
  210. tooluniverse/tools/FDA_get_drug_names_by_accessories.py +63 -0
  211. tooluniverse/tools/FDA_get_drug_names_by_active_ingredient.py +63 -0
  212. tooluniverse/tools/FDA_get_drug_names_by_alarm.py +63 -0
  213. tooluniverse/tools/FDA_get_drug_names_by_animal_pharmacology_info.py +63 -0
  214. tooluniverse/tools/FDA_get_drug_names_by_application_number_NDC_number.py +59 -0
  215. tooluniverse/tools/FDA_get_drug_names_by_assembly_installation_info.py +63 -0
  216. tooluniverse/tools/FDA_get_drug_names_by_boxed_warning.py +63 -0
  217. tooluniverse/tools/FDA_get_drug_names_by_child_safety_info.py +63 -0
  218. tooluniverse/tools/FDA_get_drug_names_by_clinical_pharmacology.py +63 -0
  219. tooluniverse/tools/FDA_get_drug_names_by_clinical_studies.py +63 -0
  220. tooluniverse/tools/FDA_get_drug_names_by_consulting_doctor_pharmacist_info.py +63 -0
  221. tooluniverse/tools/FDA_get_drug_names_by_contraindications.py +63 -0
  222. tooluniverse/tools/FDA_get_drug_names_by_controlled_substance_DEA_schedule.py +63 -0
  223. tooluniverse/tools/FDA_get_drug_names_by_dear_health_care_provider_letter_info.py +63 -0
  224. tooluniverse/tools/FDA_get_drug_names_by_disposal_info.py +63 -0
  225. tooluniverse/tools/FDA_get_drug_names_by_dosage_forms_and_strengths_info.py +63 -0
  226. tooluniverse/tools/FDA_get_drug_names_by_drug_interactions.py +63 -0
  227. tooluniverse/tools/FDA_get_drug_names_by_effective_time.py +63 -0
  228. tooluniverse/tools/FDA_get_drug_names_by_food_safety_warnings.py +63 -0
  229. tooluniverse/tools/FDA_get_drug_names_by_general_precautions.py +63 -0
  230. tooluniverse/tools/FDA_get_drug_names_by_geriatric_use.py +63 -0
  231. tooluniverse/tools/FDA_get_drug_names_by_health_claim.py +63 -0
  232. tooluniverse/tools/FDA_get_drug_names_by_indication.py +55 -0
  233. tooluniverse/tools/FDA_get_drug_names_by_info_for_nursing_mothers.py +63 -0
  234. tooluniverse/tools/FDA_get_drug_names_by_information_for_owners_or_caregivers.py +63 -0
  235. tooluniverse/tools/FDA_get_drug_names_by_ingredient.py +63 -0
  236. tooluniverse/tools/FDA_get_drug_names_by_instructions_for_use.py +63 -0
  237. tooluniverse/tools/FDA_get_drug_names_by_lab_test_interference.py +63 -0
  238. tooluniverse/tools/FDA_get_drug_names_by_lab_tests.py +63 -0
  239. tooluniverse/tools/FDA_get_drug_names_by_mechanism_of_action.py +63 -0
  240. tooluniverse/tools/FDA_get_drug_names_by_medication_guide.py +63 -0
  241. tooluniverse/tools/FDA_get_drug_names_by_nonclinical_toxicology_info.py +63 -0
  242. tooluniverse/tools/FDA_get_drug_names_by_nonteratogenic_effects.py +63 -0
  243. tooluniverse/tools/FDA_get_drug_names_by_overdosage_info.py +63 -0
  244. tooluniverse/tools/FDA_get_drug_names_by_pediatric_use.py +63 -0
  245. tooluniverse/tools/FDA_get_drug_names_by_pharmacokinetics.py +63 -0
  246. tooluniverse/tools/FDA_get_drug_names_by_population_use.py +63 -0
  247. tooluniverse/tools/FDA_get_drug_names_by_pregnancy_effects_info.py +63 -0
  248. tooluniverse/tools/FDA_get_drug_names_by_residue_warning.py +63 -0
  249. tooluniverse/tools/FDA_get_drug_names_by_risk.py +63 -0
  250. tooluniverse/tools/FDA_get_drug_names_by_route.py +63 -0
  251. tooluniverse/tools/FDA_get_drug_names_by_safe_handling_warning.py +63 -0
  252. tooluniverse/tools/FDA_get_drug_names_by_safety_summary.py +63 -0
  253. tooluniverse/tools/FDA_get_drug_names_by_spl_indexing_data_elements.py +63 -0
  254. tooluniverse/tools/FDA_get_drug_names_by_teratogenic_effects.py +63 -0
  255. tooluniverse/tools/FDA_get_drug_names_by_user_safety_warning.py +63 -0
  256. tooluniverse/tools/FDA_get_drug_names_by_warnings_and_cautions.py +63 -0
  257. tooluniverse/tools/FDA_get_drugs_by_carcinogenic_mutagenic_fertility.py +63 -0
  258. tooluniverse/tools/FDA_get_effective_time_by_drug_name.py +55 -0
  259. tooluniverse/tools/FDA_get_environmental_warning_by_drug_name.py +55 -0
  260. tooluniverse/tools/FDA_get_general_precautions_by_drug_name.py +55 -0
  261. tooluniverse/tools/FDA_get_geriatric_use_info_by_drug_name.py +55 -0
  262. tooluniverse/tools/FDA_get_health_claims_by_drug_name.py +55 -0
  263. tooluniverse/tools/FDA_get_inactive_ingredient_info_by_drug_name.py +55 -0
  264. tooluniverse/tools/FDA_get_indications_by_drug_name.py +55 -0
  265. tooluniverse/tools/FDA_get_info_for_nursing_mothers_by_drug_name.py +55 -0
  266. tooluniverse/tools/FDA_get_info_for_patients_by_drug_name.py +55 -0
  267. tooluniverse/tools/FDA_get_info_on_conditions_for_doctor_consultation_by_drug_name.py +55 -0
  268. tooluniverse/tools/FDA_get_info_on_consulting_doctor_pharmacist_by_drug_name.py +55 -0
  269. tooluniverse/tools/FDA_get_information_for_owners_or_caregivers_by_drug_name.py +55 -0
  270. tooluniverse/tools/FDA_get_ingredients_by_drug_name.py +55 -0
  271. tooluniverse/tools/FDA_get_instructions_for_use_by_drug_name.py +55 -0
  272. tooluniverse/tools/FDA_get_lab_test_interference_info_by_drug_name.py +55 -0
  273. tooluniverse/tools/FDA_get_lab_tests_by_drug_name.py +55 -0
  274. tooluniverse/tools/FDA_get_labor_and_delivery_info_by_drug_name.py +55 -0
  275. tooluniverse/tools/FDA_get_manufacturer_name_NDC_number_by_drug_name.py +55 -0
  276. tooluniverse/tools/FDA_get_mechanism_of_action_by_drug_name.py +55 -0
  277. tooluniverse/tools/FDA_get_medication_guide_info_by_drug_name.py +55 -0
  278. tooluniverse/tools/FDA_get_microbiology_info_by_drug_name.py +55 -0
  279. tooluniverse/tools/FDA_get_nonclinical_toxicology_info_by_drug_name.py +55 -0
  280. tooluniverse/tools/FDA_get_nonteratogenic_effects_by_drug_name.py +55 -0
  281. tooluniverse/tools/FDA_get_other_safety_info_by_drug_name.py +55 -0
  282. tooluniverse/tools/FDA_get_overdosage_info_by_drug_name.py +55 -0
  283. tooluniverse/tools/FDA_get_patient_package_insert_from_drug_name.py +55 -0
  284. tooluniverse/tools/FDA_get_pediatric_use_info_by_drug_name.py +55 -0
  285. tooluniverse/tools/FDA_get_pharmacodynamics_by_drug_name.py +55 -0
  286. tooluniverse/tools/FDA_get_pharmacogenomics_info_by_drug_name.py +55 -0
  287. tooluniverse/tools/FDA_get_pharmacokinetics_by_drug_name.py +55 -0
  288. tooluniverse/tools/FDA_get_population_use_info_by_drug_name.py +55 -0
  289. tooluniverse/tools/FDA_get_precautions_by_drug_name.py +55 -0
  290. tooluniverse/tools/FDA_get_pregnancy_effects_info_by_drug_name.py +55 -0
  291. tooluniverse/tools/FDA_get_pregnancy_or_breastfeeding_info_by_drug_name.py +55 -0
  292. tooluniverse/tools/FDA_get_principal_display_panel_by_drug_name.py +55 -0
  293. tooluniverse/tools/FDA_get_purpose_info_by_drug_name.py +55 -0
  294. tooluniverse/tools/FDA_get_recent_changes_by_drug_name.py +55 -0
  295. tooluniverse/tools/FDA_get_reference_info_by_drug_name.py +55 -0
  296. tooluniverse/tools/FDA_get_residue_warning_by_drug_name.py +55 -0
  297. tooluniverse/tools/FDA_get_risk_info_by_drug_name.py +55 -0
  298. tooluniverse/tools/FDA_get_route_info_by_drug_name.py +55 -0
  299. tooluniverse/tools/FDA_get_safe_handling_warnings_by_drug_name.py +55 -0
  300. tooluniverse/tools/FDA_get_safety_summary_by_drug_name.py +55 -0
  301. tooluniverse/tools/FDA_get_spl_indexing_data_elements_by_drug_name.py +55 -0
  302. tooluniverse/tools/FDA_get_spl_unclassified_section_by_drug_name.py +55 -0
  303. tooluniverse/tools/FDA_get_stop_use_info_by_drug_name.py +55 -0
  304. tooluniverse/tools/FDA_get_storage_and_handling_info_by_drug_name.py +55 -0
  305. tooluniverse/tools/FDA_get_teratogenic_effects_by_drug_name.py +55 -0
  306. tooluniverse/tools/FDA_get_user_safety_warning_by_drug_names.py +55 -0
  307. tooluniverse/tools/FDA_get_warnings_and_cautions_by_drug_name.py +55 -0
  308. tooluniverse/tools/FDA_get_warnings_by_drug_name.py +55 -0
  309. tooluniverse/tools/FDA_get_when_using_info.py +55 -0
  310. tooluniverse/tools/FDA_retrieve_device_use_by_drug_name.py +55 -0
  311. tooluniverse/tools/FDA_retrieve_drug_name_by_device_use.py +59 -0
  312. tooluniverse/tools/FDA_retrieve_drug_names_by_patient_medication_info.py +55 -0
  313. tooluniverse/tools/FDA_retrieve_patient_medication_info_by_drug_name.py +55 -0
  314. tooluniverse/tools/Fatcat_search_scholar.py +52 -0
  315. tooluniverse/tools/Finish.py +44 -0
  316. tooluniverse/tools/GO_get_annotations_for_gene.py +46 -0
  317. tooluniverse/tools/GO_get_genes_for_term.py +55 -0
  318. tooluniverse/tools/GO_get_term_by_id.py +46 -0
  319. tooluniverse/tools/GO_get_term_details.py +46 -0
  320. tooluniverse/tools/GO_search_terms.py +46 -0
  321. tooluniverse/tools/HAL_search_archive.py +52 -0
  322. tooluniverse/tools/HPA_get_biological_processes_by_gene.py +52 -0
  323. tooluniverse/tools/HPA_get_cancer_prognostics_by_gene.py +49 -0
  324. tooluniverse/tools/HPA_get_comparative_expression_by_gene_and_cellline.py +52 -0
  325. tooluniverse/tools/HPA_get_comprehensive_gene_details_by_ensembl_id.py +63 -0
  326. tooluniverse/tools/HPA_get_contextual_biological_process_analysis.py +52 -0
  327. tooluniverse/tools/HPA_get_disease_expression_by_gene_tissue_disease.py +59 -0
  328. tooluniverse/tools/HPA_get_gene_basic_info_by_ensembl_id.py +49 -0
  329. tooluniverse/tools/HPA_get_gene_tsv_data_by_ensembl_id.py +49 -0
  330. tooluniverse/tools/HPA_get_protein_interactions_by_gene.py +49 -0
  331. tooluniverse/tools/HPA_get_rna_expression_by_source.py +59 -0
  332. tooluniverse/tools/HPA_get_rna_expression_in_specific_tissues.py +52 -0
  333. tooluniverse/tools/HPA_get_subcellular_location.py +46 -0
  334. tooluniverse/tools/HPA_search_genes_by_query.py +49 -0
  335. tooluniverse/tools/HypothesisGenerator.py +63 -0
  336. tooluniverse/tools/LabelGenerator.py +67 -0
  337. tooluniverse/tools/LiteratureContextReviewer.py +55 -0
  338. tooluniverse/tools/LiteratureSearchTool.py +49 -0
  339. tooluniverse/tools/MedRxiv_search_preprints.py +52 -0
  340. tooluniverse/tools/MedicalLiteratureReviewer.py +71 -0
  341. tooluniverse/tools/MedicalTermNormalizer.py +46 -0
  342. tooluniverse/tools/MedlinePlus_connect_lookup_by_code.py +67 -0
  343. tooluniverse/tools/MedlinePlus_get_genetics_condition_by_name.py +52 -0
  344. tooluniverse/tools/MedlinePlus_get_genetics_gene_by_name.py +52 -0
  345. tooluniverse/tools/MedlinePlus_get_genetics_index.py +44 -0
  346. tooluniverse/tools/MedlinePlus_search_topics_by_keyword.py +55 -0
  347. tooluniverse/tools/MethodologyRigorReviewer.py +49 -0
  348. tooluniverse/tools/MultiAgentLiteratureSearch.py +59 -0
  349. tooluniverse/tools/NICE_Clinical_Guidelines_Search.py +52 -0
  350. tooluniverse/tools/NICE_Guideline_Full_Text.py +46 -0
  351. tooluniverse/tools/NoveltySignificanceReviewer.py +59 -0
  352. tooluniverse/tools/OSF_search_preprints.py +59 -0
  353. tooluniverse/tools/OSL_get_efo_id_by_disease_name.py +46 -0
  354. tooluniverse/tools/OpenAIRE_search_publications.py +55 -0
  355. tooluniverse/tools/OpenAlex_Guidelines_Search.py +63 -0
  356. tooluniverse/tools/OpenTargets_drug_pharmacogenomics_data.py +52 -0
  357. tooluniverse/tools/OpenTargets_get_approved_indications_by_drug_chemblId.py +49 -0
  358. tooluniverse/tools/OpenTargets_get_associated_diseases_by_drug_chemblId.py +49 -0
  359. tooluniverse/tools/OpenTargets_get_associated_drugs_by_disease_efoId.py +52 -0
  360. tooluniverse/tools/OpenTargets_get_associated_drugs_by_target_ensemblID.py +55 -0
  361. tooluniverse/tools/OpenTargets_get_associated_phenotypes_by_disease_efoId.py +49 -0
  362. tooluniverse/tools/OpenTargets_get_associated_targets_by_disease_efoId.py +49 -0
  363. tooluniverse/tools/OpenTargets_get_associated_targets_by_drug_chemblId.py +49 -0
  364. tooluniverse/tools/OpenTargets_get_biological_mouse_models_by_ensemblID.py +49 -0
  365. tooluniverse/tools/OpenTargets_get_chemical_probes_by_target_ensemblID.py +49 -0
  366. tooluniverse/tools/OpenTargets_get_disease_ancestors_parents_by_efoId.py +49 -0
  367. tooluniverse/tools/OpenTargets_get_disease_descendants_children_by_efoId.py +49 -0
  368. tooluniverse/tools/OpenTargets_get_disease_description_by_efoId.py +49 -0
  369. tooluniverse/tools/OpenTargets_get_disease_id_description_by_name.py +49 -0
  370. tooluniverse/tools/OpenTargets_get_disease_ids_by_efoId.py +46 -0
  371. tooluniverse/tools/OpenTargets_get_disease_ids_by_name.py +46 -0
  372. tooluniverse/tools/OpenTargets_get_disease_locations_by_efoId.py +49 -0
  373. tooluniverse/tools/OpenTargets_get_disease_synonyms_by_efoId.py +49 -0
  374. tooluniverse/tools/OpenTargets_get_disease_therapeutic_areas_by_efoId.py +49 -0
  375. tooluniverse/tools/OpenTargets_get_diseases_phenotypes_by_target_ensembl.py +49 -0
  376. tooluniverse/tools/OpenTargets_get_drug_adverse_events_by_chemblId.py +52 -0
  377. tooluniverse/tools/OpenTargets_get_drug_approval_status_by_chemblId.py +49 -0
  378. tooluniverse/tools/OpenTargets_get_drug_chembId_by_generic_name.py +49 -0
  379. tooluniverse/tools/OpenTargets_get_drug_description_by_chemblId.py +49 -0
  380. tooluniverse/tools/OpenTargets_get_drug_id_description_by_name.py +49 -0
  381. tooluniverse/tools/OpenTargets_get_drug_indications_by_chemblId.py +49 -0
  382. tooluniverse/tools/OpenTargets_get_drug_mechanisms_of_action_by_chemblId.py +49 -0
  383. tooluniverse/tools/OpenTargets_get_drug_synonyms_by_chemblId.py +49 -0
  384. tooluniverse/tools/OpenTargets_get_drug_trade_names_by_chemblId.py +49 -0
  385. tooluniverse/tools/OpenTargets_get_drug_warnings_by_chemblId.py +49 -0
  386. tooluniverse/tools/OpenTargets_get_drug_withdrawn_blackbox_status_by_chemblId.py +49 -0
  387. tooluniverse/tools/OpenTargets_get_gene_ontology_terms_by_goID.py +49 -0
  388. tooluniverse/tools/OpenTargets_get_known_drugs_by_drug_chemblId.py +49 -0
  389. tooluniverse/tools/OpenTargets_get_parent_child_molecules_by_drug_chembl_ID.py +49 -0
  390. tooluniverse/tools/OpenTargets_get_publications_by_disease_efoId.py +71 -0
  391. tooluniverse/tools/OpenTargets_get_publications_by_drug_chemblId.py +71 -0
  392. tooluniverse/tools/OpenTargets_get_publications_by_target_ensemblID.py +71 -0
  393. tooluniverse/tools/OpenTargets_get_similar_entities_by_disease_efoId.py +55 -0
  394. tooluniverse/tools/OpenTargets_get_similar_entities_by_drug_chemblId.py +55 -0
  395. tooluniverse/tools/OpenTargets_get_similar_entities_by_target_ensemblID.py +55 -0
  396. tooluniverse/tools/OpenTargets_get_target_classes_by_ensemblID.py +49 -0
  397. tooluniverse/tools/OpenTargets_get_target_constraint_info_by_ensemblID.py +49 -0
  398. tooluniverse/tools/OpenTargets_get_target_enabling_packages_by_ensemblID.py +49 -0
  399. tooluniverse/tools/OpenTargets_get_target_gene_ontology_by_ensemblID.py +49 -0
  400. tooluniverse/tools/OpenTargets_get_target_genomic_location_by_ensemblID.py +49 -0
  401. tooluniverse/tools/OpenTargets_get_target_homologues_by_ensemblID.py +49 -0
  402. tooluniverse/tools/OpenTargets_get_target_id_description_by_name.py +49 -0
  403. tooluniverse/tools/OpenTargets_get_target_interactions_by_ensemblID.py +52 -0
  404. tooluniverse/tools/OpenTargets_get_target_safety_profile_by_ensemblID.py +49 -0
  405. tooluniverse/tools/OpenTargets_get_target_subcellular_locations_by_ensemblID.py +49 -0
  406. tooluniverse/tools/OpenTargets_get_target_synonyms_by_ensemblID.py +49 -0
  407. tooluniverse/tools/OpenTargets_get_target_tractability_by_ensemblID.py +49 -0
  408. tooluniverse/tools/OpenTargets_map_any_disease_id_to_all_other_ids.py +49 -0
  409. tooluniverse/tools/OpenTargets_multi_entity_search_by_query_string.py +59 -0
  410. tooluniverse/tools/OpenTargets_search_category_counts_by_query_string.py +49 -0
  411. tooluniverse/tools/OpenTargets_target_disease_evidence.py +52 -0
  412. tooluniverse/tools/OutputSummarizationComposer.py +71 -0
  413. tooluniverse/tools/PMC_search_papers.py +67 -0
  414. tooluniverse/tools/ProtocolOptimizer.py +49 -0
  415. tooluniverse/tools/PubChem_get_CID_by_SMILES.py +46 -0
  416. tooluniverse/tools/PubChem_get_CID_by_compound_name.py +46 -0
  417. tooluniverse/tools/PubChem_get_associated_patents_by_CID.py +46 -0
  418. tooluniverse/tools/PubChem_get_compound_2D_image_by_CID.py +52 -0
  419. tooluniverse/tools/PubChem_get_compound_properties_by_CID.py +46 -0
  420. tooluniverse/tools/PubChem_get_compound_synonyms_by_CID.py +46 -0
  421. tooluniverse/tools/PubChem_get_compound_xrefs_by_CID.py +52 -0
  422. tooluniverse/tools/PubChem_search_compounds_by_similarity.py +52 -0
  423. tooluniverse/tools/PubChem_search_compounds_by_substructure.py +49 -0
  424. tooluniverse/tools/PubMed_Guidelines_Search.py +55 -0
  425. tooluniverse/tools/PubMed_search_articles.py +55 -0
  426. tooluniverse/tools/PubTator3_EntityAutocomplete.py +59 -0
  427. tooluniverse/tools/PubTator3_LiteratureSearch.py +55 -0
  428. tooluniverse/tools/QuestionRephraser.py +52 -0
  429. tooluniverse/tools/Reactome_get_pathway_reactions.py +46 -0
  430. tooluniverse/tools/ReproducibilityTransparencyReviewer.py +49 -0
  431. tooluniverse/tools/ResultsInterpretationReviewer.py +55 -0
  432. tooluniverse/tools/ScientificTextSummarizer.py +59 -0
  433. tooluniverse/tools/SemanticScholar_search_papers.py +55 -0
  434. tooluniverse/tools/TRIP_Database_Guidelines_Search.py +55 -0
  435. tooluniverse/tools/TestCaseGenerator.py +46 -0
  436. tooluniverse/tools/ToolCompatibilityAnalyzer.py +59 -0
  437. tooluniverse/tools/ToolDescriptionOptimizer.py +67 -0
  438. tooluniverse/tools/ToolDiscover.py +63 -0
  439. tooluniverse/tools/ToolGraphComposer.py +71 -0
  440. tooluniverse/tools/ToolGraphGenerationPipeline.py +63 -0
  441. tooluniverse/tools/ToolImplementationGenerator.py +67 -0
  442. tooluniverse/tools/ToolMetadataGenerationPipeline.py +63 -0
  443. tooluniverse/tools/ToolMetadataGenerator.py +55 -0
  444. tooluniverse/tools/ToolMetadataStandardizer.py +52 -0
  445. tooluniverse/tools/ToolOptimizer.py +59 -0
  446. tooluniverse/tools/ToolOutputSummarizer.py +67 -0
  447. tooluniverse/tools/ToolQualityEvaluator.py +59 -0
  448. tooluniverse/tools/ToolRelationshipDetector.py +52 -0
  449. tooluniverse/tools/ToolSpecificationGenerator.py +67 -0
  450. tooluniverse/tools/ToolSpecificationOptimizer.py +63 -0
  451. tooluniverse/tools/Tool_Finder.py +67 -0
  452. tooluniverse/tools/Tool_Finder_Keyword.py +67 -0
  453. tooluniverse/tools/Tool_Finder_LLM.py +67 -0
  454. tooluniverse/tools/Tool_RAG.py +49 -0
  455. tooluniverse/tools/UniProt_get_alternative_names_by_accession.py +49 -0
  456. tooluniverse/tools/UniProt_get_disease_variants_by_accession.py +49 -0
  457. tooluniverse/tools/UniProt_get_entry_by_accession.py +49 -0
  458. tooluniverse/tools/UniProt_get_function_by_accession.py +49 -0
  459. tooluniverse/tools/UniProt_get_isoform_ids_by_accession.py +49 -0
  460. tooluniverse/tools/UniProt_get_organism_by_accession.py +49 -0
  461. tooluniverse/tools/UniProt_get_ptm_processing_by_accession.py +49 -0
  462. tooluniverse/tools/UniProt_get_recommended_name_by_accession.py +49 -0
  463. tooluniverse/tools/UniProt_get_sequence_by_accession.py +49 -0
  464. tooluniverse/tools/UniProt_get_subcellular_location_by_accession.py +49 -0
  465. tooluniverse/tools/Unpaywall_check_oa_status.py +52 -0
  466. tooluniverse/tools/WHO_Guideline_Full_Text.py +46 -0
  467. tooluniverse/tools/WHO_Guidelines_Search.py +52 -0
  468. tooluniverse/tools/Wikidata_SPARQL_query.py +52 -0
  469. tooluniverse/tools/WritingPresentationReviewer.py +49 -0
  470. tooluniverse/tools/Zenodo_search_records.py +59 -0
  471. tooluniverse/tools/__init__.py +1738 -0
  472. tooluniverse/tools/_shared_client.py +138 -0
  473. tooluniverse/tools/alphafold_get_annotations.py +52 -0
  474. tooluniverse/tools/alphafold_get_prediction.py +55 -0
  475. tooluniverse/tools/alphafold_get_summary.py +46 -0
  476. tooluniverse/tools/call_agentic_human.py +46 -0
  477. tooluniverse/tools/cancer_biomarkers_disease_target_score.py +52 -0
  478. tooluniverse/tools/cancer_gene_census_disease_target_score.py +52 -0
  479. tooluniverse/tools/cellosaurus_get_cell_line_info.py +55 -0
  480. tooluniverse/tools/cellosaurus_query_converter.py +52 -0
  481. tooluniverse/tools/cellosaurus_search_cell_lines.py +55 -0
  482. tooluniverse/tools/chembl_disease_target_score.py +52 -0
  483. tooluniverse/tools/dict_search.py +67 -0
  484. tooluniverse/tools/dili_search.py +67 -0
  485. tooluniverse/tools/diqt_search.py +67 -0
  486. tooluniverse/tools/disease_target_score.py +59 -0
  487. tooluniverse/tools/drugbank_filter_drugs_by_name.py +55 -0
  488. tooluniverse/tools/drugbank_full_search.py +67 -0
  489. tooluniverse/tools/drugbank_get_drug_basic_info_by_drug_name_or_drugbank_id.py +63 -0
  490. tooluniverse/tools/drugbank_get_drug_chemistry_by_drug_name_or_drugbank_id.py +63 -0
  491. tooluniverse/tools/drugbank_get_drug_interactions_by_drug_name_or_drugbank_id.py +63 -0
  492. tooluniverse/tools/drugbank_get_drug_name_and_description_by_indication.py +63 -0
  493. tooluniverse/tools/drugbank_get_drug_name_and_description_by_pathway_name.py +63 -0
  494. tooluniverse/tools/drugbank_get_drug_name_and_description_by_target_name.py +63 -0
  495. tooluniverse/tools/drugbank_get_drug_name_description_pharmacology_by_mechanism_of_action.py +63 -0
  496. tooluniverse/tools/drugbank_get_drug_pathways_and_reactions_by_drug_name_or_drugbank_id.py +63 -0
  497. tooluniverse/tools/drugbank_get_drug_products_by_name_or_drugbank_id.py +63 -0
  498. tooluniverse/tools/drugbank_get_drug_references_by_drug_name_or_drugbank_id.py +63 -0
  499. tooluniverse/tools/drugbank_get_indications_by_drug_name_or_drugbank_id.py +63 -0
  500. tooluniverse/tools/drugbank_get_pharmacology_by_drug_name_or_drugbank_id.py +63 -0
  501. tooluniverse/tools/drugbank_get_safety_by_drug_name_or_drugbank_id.py +63 -0
  502. tooluniverse/tools/drugbank_get_targets_by_drug_name_or_drugbank_id.py +63 -0
  503. tooluniverse/tools/drugbank_links_search.py +67 -0
  504. tooluniverse/tools/drugbank_vocab_filter.py +63 -0
  505. tooluniverse/tools/drugbank_vocab_search.py +67 -0
  506. tooluniverse/tools/embedding_database_add.py +63 -0
  507. tooluniverse/tools/embedding_database_create.py +71 -0
  508. tooluniverse/tools/embedding_database_load.py +63 -0
  509. tooluniverse/tools/embedding_database_search.py +67 -0
  510. tooluniverse/tools/embedding_sync_download.py +63 -0
  511. tooluniverse/tools/embedding_sync_upload.py +71 -0
  512. tooluniverse/tools/enrichr_gene_enrichment_analysis.py +52 -0
  513. tooluniverse/tools/europepmc_disease_target_score.py +52 -0
  514. tooluniverse/tools/eva_disease_target_score.py +52 -0
  515. tooluniverse/tools/eva_somatic_disease_target_score.py +52 -0
  516. tooluniverse/tools/expression_atlas_disease_target_score.py +52 -0
  517. tooluniverse/tools/extract_clinical_trial_adverse_events.py +59 -0
  518. tooluniverse/tools/extract_clinical_trial_outcomes.py +52 -0
  519. tooluniverse/tools/genomics_england_disease_target_score.py +52 -0
  520. tooluniverse/tools/get_HPO_ID_by_phenotype.py +55 -0
  521. tooluniverse/tools/get_albumentations_info.py +44 -0
  522. tooluniverse/tools/get_altair_info.py +44 -0
  523. tooluniverse/tools/get_anndata_info.py +49 -0
  524. tooluniverse/tools/get_arboreto_info.py +46 -0
  525. tooluniverse/tools/get_arxiv_info.py +46 -0
  526. tooluniverse/tools/get_ase_info.py +46 -0
  527. tooluniverse/tools/get_assembly_info_by_pdb_id.py +46 -0
  528. tooluniverse/tools/get_assembly_summary.py +46 -0
  529. tooluniverse/tools/get_astropy_info.py +44 -0
  530. tooluniverse/tools/get_binding_affinity_by_pdb_id.py +46 -0
  531. tooluniverse/tools/get_biopandas_info.py +49 -0
  532. tooluniverse/tools/get_biopython_info.py +49 -0
  533. tooluniverse/tools/get_bioservices_info.py +44 -0
  534. tooluniverse/tools/get_biotite_info.py +49 -0
  535. tooluniverse/tools/get_bokeh_info.py +44 -0
  536. tooluniverse/tools/get_brian2_info.py +44 -0
  537. tooluniverse/tools/get_cartopy_info.py +44 -0
  538. tooluniverse/tools/get_catboost_info.py +44 -0
  539. tooluniverse/tools/get_cellpose_info.py +49 -0
  540. tooluniverse/tools/get_cellrank_info.py +44 -0
  541. tooluniverse/tools/get_cellxgene_census_info.py +46 -0
  542. tooluniverse/tools/get_cftime_info.py +44 -0
  543. tooluniverse/tools/get_chem_comp_audit_info.py +46 -0
  544. tooluniverse/tools/get_chem_comp_charge_and_ambiguity.py +46 -0
  545. tooluniverse/tools/get_chembl_webresource_client_info.py +44 -0
  546. tooluniverse/tools/get_citation_info_by_pdb_id.py +46 -0
  547. tooluniverse/tools/get_clair3_info.py +46 -0
  548. tooluniverse/tools/get_clinical_trial_conditions_and_interventions.py +55 -0
  549. tooluniverse/tools/get_clinical_trial_descriptions.py +52 -0
  550. tooluniverse/tools/get_clinical_trial_eligibility_criteria.py +55 -0
  551. tooluniverse/tools/get_clinical_trial_locations.py +52 -0
  552. tooluniverse/tools/get_clinical_trial_outcome_measures.py +52 -0
  553. tooluniverse/tools/get_clinical_trial_references.py +52 -0
  554. tooluniverse/tools/get_clinical_trial_status_and_dates.py +52 -0
  555. tooluniverse/tools/get_cobra_info.py +46 -0
  556. tooluniverse/tools/get_cobrapy_info.py +46 -0
  557. tooluniverse/tools/get_cooler_info.py +49 -0
  558. tooluniverse/tools/get_core_refinement_statistics.py +46 -0
  559. tooluniverse/tools/get_cryosparc_tools_info.py +46 -0
  560. tooluniverse/tools/get_crystal_growth_conditions_by_pdb_id.py +49 -0
  561. tooluniverse/tools/get_crystallization_ph_by_pdb_id.py +46 -0
  562. tooluniverse/tools/get_crystallographic_properties_by_pdb_id.py +49 -0
  563. tooluniverse/tools/get_cupy_info.py +44 -0
  564. tooluniverse/tools/get_cyvcf2_info.py +49 -0
  565. tooluniverse/tools/get_dask_info.py +44 -0
  566. tooluniverse/tools/get_datamol_info.py +44 -0
  567. tooluniverse/tools/get_datashader_info.py +44 -0
  568. tooluniverse/tools/get_deepchem_info.py +49 -0
  569. tooluniverse/tools/get_deeppurpose_info.py +46 -0
  570. tooluniverse/tools/get_deeptools_info.py +46 -0
  571. tooluniverse/tools/get_deepxde_info.py +49 -0
  572. tooluniverse/tools/get_dendropy_info.py +44 -0
  573. tooluniverse/tools/get_descriptastorus_info.py +46 -0
  574. tooluniverse/tools/get_diffdock_info.py +46 -0
  575. tooluniverse/tools/get_dscribe_info.py +49 -0
  576. tooluniverse/tools/get_ec_number_by_entity_id.py +46 -0
  577. tooluniverse/tools/get_elephant_info.py +44 -0
  578. tooluniverse/tools/get_em_3d_fitting_and_reconstruction_details.py +49 -0
  579. tooluniverse/tools/get_emdb_ids_by_pdb_id.py +46 -0
  580. tooluniverse/tools/get_episcanpy_info.py +44 -0
  581. tooluniverse/tools/get_ete3_info.py +44 -0
  582. tooluniverse/tools/get_faiss_info.py +46 -0
  583. tooluniverse/tools/get_fanc_info.py +46 -0
  584. tooluniverse/tools/get_flask_info.py +46 -0
  585. tooluniverse/tools/get_flowio_info.py +46 -0
  586. tooluniverse/tools/get_flowkit_info.py +46 -0
  587. tooluniverse/tools/get_flowutils_info.py +46 -0
  588. tooluniverse/tools/get_freesasa_info.py +44 -0
  589. tooluniverse/tools/get_galpy_info.py +44 -0
  590. tooluniverse/tools/get_gene_name_by_entity_id.py +46 -0
  591. tooluniverse/tools/get_geopandas_info.py +44 -0
  592. tooluniverse/tools/get_gget_info.py +46 -0
  593. tooluniverse/tools/get_googlesearch_python_info.py +46 -0
  594. tooluniverse/tools/get_gseapy_info.py +49 -0
  595. tooluniverse/tools/get_h5py_info.py +46 -0
  596. tooluniverse/tools/get_harmony_pytorch_info.py +46 -0
  597. tooluniverse/tools/get_hmmlearn_info.py +46 -0
  598. tooluniverse/tools/get_holoviews_info.py +44 -0
  599. tooluniverse/tools/get_host_organism_by_pdb_id.py +46 -0
  600. tooluniverse/tools/get_htmd_info.py +44 -0
  601. tooluniverse/tools/get_hyperopt_info.py +49 -0
  602. tooluniverse/tools/get_igraph_info.py +49 -0
  603. tooluniverse/tools/get_imageio_info.py +44 -0
  604. tooluniverse/tools/get_imbalanced_learn_info.py +44 -0
  605. tooluniverse/tools/get_jcvi_info.py +46 -0
  606. tooluniverse/tools/get_joblib_info.py +44 -0
  607. tooluniverse/tools/get_joint_associated_diseases_by_HPO_ID_list.py +55 -0
  608. tooluniverse/tools/get_khmer_info.py +46 -0
  609. tooluniverse/tools/get_kipoiseq_info.py +44 -0
  610. tooluniverse/tools/get_lifelines_info.py +49 -0
  611. tooluniverse/tools/get_ligand_bond_count_by_pdb_id.py +46 -0
  612. tooluniverse/tools/get_ligand_smiles_by_chem_comp_id.py +49 -0
  613. tooluniverse/tools/get_lightgbm_info.py +44 -0
  614. tooluniverse/tools/get_loompy_info.py +46 -0
  615. tooluniverse/tools/get_mageck_info.py +46 -0
  616. tooluniverse/tools/get_matplotlib_info.py +49 -0
  617. tooluniverse/tools/get_mdanalysis_info.py +46 -0
  618. tooluniverse/tools/get_mdtraj_info.py +44 -0
  619. tooluniverse/tools/get_mne_info.py +44 -0
  620. tooluniverse/tools/get_molfeat_info.py +44 -0
  621. tooluniverse/tools/get_molvs_info.py +44 -0
  622. tooluniverse/tools/get_mordred_info.py +44 -0
  623. tooluniverse/tools/get_msprime_info.py +49 -0
  624. tooluniverse/tools/get_mudata_info.py +49 -0
  625. tooluniverse/tools/get_mutation_annotations_by_pdb_id.py +46 -0
  626. tooluniverse/tools/get_neo_info.py +44 -0
  627. tooluniverse/tools/get_netcdf4_info.py +44 -0
  628. tooluniverse/tools/get_networkx_info.py +46 -0
  629. tooluniverse/tools/get_nglview_info.py +44 -0
  630. tooluniverse/tools/get_nilearn_info.py +44 -0
  631. tooluniverse/tools/get_numba_info.py +46 -0
  632. tooluniverse/tools/get_numpy_info.py +46 -0
  633. tooluniverse/tools/get_oligosaccharide_descriptors_by_entity_id.py +49 -0
  634. tooluniverse/tools/get_openbabel_info.py +49 -0
  635. tooluniverse/tools/get_openchem_info.py +46 -0
  636. tooluniverse/tools/get_opencv_info.py +49 -0
  637. tooluniverse/tools/get_openmm_info.py +49 -0
  638. tooluniverse/tools/get_optlang_info.py +46 -0
  639. tooluniverse/tools/get_optuna_info.py +44 -0
  640. tooluniverse/tools/get_palantir_info.py +44 -0
  641. tooluniverse/tools/get_pandas_info.py +49 -0
  642. tooluniverse/tools/get_patsy_info.py +44 -0
  643. tooluniverse/tools/get_pdbfixer_info.py +46 -0
  644. tooluniverse/tools/get_phenotype_by_HPO_ID.py +46 -0
  645. tooluniverse/tools/get_pillow_info.py +44 -0
  646. tooluniverse/tools/get_plantcv_info.py +46 -0
  647. tooluniverse/tools/get_plip_info.py +46 -0
  648. tooluniverse/tools/get_plotly_info.py +44 -0
  649. tooluniverse/tools/get_poliastro_info.py +46 -0
  650. tooluniverse/tools/get_polymer_entity_annotations.py +49 -0
  651. tooluniverse/tools/get_polymer_entity_count_by_pdb_id.py +46 -0
  652. tooluniverse/tools/get_polymer_entity_ids_by_pdb_id.py +46 -0
  653. tooluniverse/tools/get_polymer_entity_type_by_entity_id.py +49 -0
  654. tooluniverse/tools/get_polymer_molecular_weight_by_entity_id.py +49 -0
  655. tooluniverse/tools/get_poretools_info.py +44 -0
  656. tooluniverse/tools/get_prody_info.py +46 -0
  657. tooluniverse/tools/get_protein_classification_by_pdb_id.py +49 -0
  658. tooluniverse/tools/get_protein_metadata_by_pdb_id.py +46 -0
  659. tooluniverse/tools/get_pubchempy_info.py +44 -0
  660. tooluniverse/tools/get_pybedtools_info.py +49 -0
  661. tooluniverse/tools/get_pybigwig_info.py +46 -0
  662. tooluniverse/tools/get_pydeseq2_info.py +46 -0
  663. tooluniverse/tools/get_pyensembl_info.py +44 -0
  664. tooluniverse/tools/get_pyephem_info.py +44 -0
  665. tooluniverse/tools/get_pyfaidx_info.py +49 -0
  666. tooluniverse/tools/get_pyfasta_info.py +44 -0
  667. tooluniverse/tools/get_pykalman_info.py +46 -0
  668. tooluniverse/tools/get_pyliftover_info.py +49 -0
  669. tooluniverse/tools/get_pymassspec_info.py +46 -0
  670. tooluniverse/tools/get_pymed_info.py +46 -0
  671. tooluniverse/tools/get_pymzml_info.py +46 -0
  672. tooluniverse/tools/get_pypdf2_info.py +46 -0
  673. tooluniverse/tools/get_pyranges_info.py +49 -0
  674. tooluniverse/tools/get_pyrosetta_info.py +44 -0
  675. tooluniverse/tools/get_pysam_info.py +46 -0
  676. tooluniverse/tools/get_pyscenic_info.py +46 -0
  677. tooluniverse/tools/get_pyscf_info.py +46 -0
  678. tooluniverse/tools/get_pyscreener_info.py +46 -0
  679. tooluniverse/tools/get_pytdc_info.py +46 -0
  680. tooluniverse/tools/get_python_libsbml_info.py +46 -0
  681. tooluniverse/tools/get_pytorch_info.py +49 -0
  682. tooluniverse/tools/get_pyvcf_info.py +44 -0
  683. tooluniverse/tools/get_pyvis_info.py +44 -0
  684. tooluniverse/tools/get_qutip_info.py +44 -0
  685. tooluniverse/tools/get_rasterio_info.py +44 -0
  686. tooluniverse/tools/get_rdkit_info.py +46 -0
  687. tooluniverse/tools/get_refinement_resolution_by_pdb_id.py +49 -0
  688. tooluniverse/tools/get_release_deposit_dates_by_pdb_id.py +49 -0
  689. tooluniverse/tools/get_reportlab_info.py +49 -0
  690. tooluniverse/tools/get_requests_info.py +49 -0
  691. tooluniverse/tools/get_ruptures_info.py +46 -0
  692. tooluniverse/tools/get_scanorama_info.py +44 -0
  693. tooluniverse/tools/get_scanpy_info.py +49 -0
  694. tooluniverse/tools/get_schnetpack_info.py +49 -0
  695. tooluniverse/tools/get_scholarly_info.py +46 -0
  696. tooluniverse/tools/get_scikit_bio_info.py +49 -0
  697. tooluniverse/tools/get_scikit_image_info.py +46 -0
  698. tooluniverse/tools/get_scikit_learn_info.py +49 -0
  699. tooluniverse/tools/get_scipy_info.py +46 -0
  700. tooluniverse/tools/get_scrublet_info.py +49 -0
  701. tooluniverse/tools/get_scvelo_info.py +49 -0
  702. tooluniverse/tools/get_scvi_tools_info.py +44 -0
  703. tooluniverse/tools/get_seaborn_info.py +49 -0
  704. tooluniverse/tools/get_sequence_by_pdb_id.py +46 -0
  705. tooluniverse/tools/get_sequence_lengths_by_pdb_id.py +46 -0
  706. tooluniverse/tools/get_sequence_positional_features_by_instance_id.py +49 -0
  707. tooluniverse/tools/get_skopt_info.py +44 -0
  708. tooluniverse/tools/get_souporcell_info.py +46 -0
  709. tooluniverse/tools/get_source_organism_by_pdb_id.py +46 -0
  710. tooluniverse/tools/get_space_group_by_pdb_id.py +46 -0
  711. tooluniverse/tools/get_statsmodels_info.py +49 -0
  712. tooluniverse/tools/get_structure_determination_software_by_pdb_id.py +49 -0
  713. tooluniverse/tools/get_structure_title_by_pdb_id.py +46 -0
  714. tooluniverse/tools/get_structure_validation_metrics_by_pdb_id.py +49 -0
  715. tooluniverse/tools/get_sunpy_info.py +44 -0
  716. tooluniverse/tools/get_sympy_info.py +46 -0
  717. tooluniverse/tools/get_target_cofactor_info.py +46 -0
  718. tooluniverse/tools/get_taxonomy_by_pdb_id.py +46 -0
  719. tooluniverse/tools/get_tiledb_info.py +46 -0
  720. tooluniverse/tools/get_tiledbsoma_info.py +46 -0
  721. tooluniverse/tools/get_torch_geometric_info.py +49 -0
  722. tooluniverse/tools/get_tqdm_info.py +46 -0
  723. tooluniverse/tools/get_trackpy_info.py +46 -0
  724. tooluniverse/tools/get_tskit_info.py +46 -0
  725. tooluniverse/tools/get_umap_learn_info.py +49 -0
  726. tooluniverse/tools/get_uniprot_accession_by_entity_id.py +49 -0
  727. tooluniverse/tools/get_velocyto_info.py +44 -0
  728. tooluniverse/tools/get_viennarna_info.py +49 -0
  729. tooluniverse/tools/get_webpage_text_from_url.py +52 -0
  730. tooluniverse/tools/get_webpage_title.py +49 -0
  731. tooluniverse/tools/get_xarray_info.py +44 -0
  732. tooluniverse/tools/get_xesmf_info.py +44 -0
  733. tooluniverse/tools/get_xgboost_info.py +44 -0
  734. tooluniverse/tools/get_zarr_info.py +44 -0
  735. tooluniverse/tools/gwas_get_association_by_id.py +49 -0
  736. tooluniverse/tools/gwas_get_associations_for_snp.py +67 -0
  737. tooluniverse/tools/gwas_get_associations_for_study.py +55 -0
  738. tooluniverse/tools/gwas_get_associations_for_trait.py +55 -0
  739. tooluniverse/tools/gwas_get_snp_by_id.py +46 -0
  740. tooluniverse/tools/gwas_get_snps_for_gene.py +55 -0
  741. tooluniverse/tools/gwas_get_studies_for_trait.py +75 -0
  742. tooluniverse/tools/gwas_get_study_by_id.py +46 -0
  743. tooluniverse/tools/gwas_get_variants_for_trait.py +55 -0
  744. tooluniverse/tools/gwas_search_associations.py +75 -0
  745. tooluniverse/tools/gwas_search_snps.py +63 -0
  746. tooluniverse/tools/gwas_search_studies.py +75 -0
  747. tooluniverse/tools/humanbase_ppi_analysis.py +67 -0
  748. tooluniverse/tools/mesh_get_subjects_by_pharmacological_action.py +63 -0
  749. tooluniverse/tools/mesh_get_subjects_by_subject_id.py +63 -0
  750. tooluniverse/tools/mesh_get_subjects_by_subject_name.py +63 -0
  751. tooluniverse/tools/mesh_get_subjects_by_subject_scope_or_definition.py +63 -0
  752. tooluniverse/tools/odphp_itemlist.py +49 -0
  753. tooluniverse/tools/odphp_myhealthfinder.py +67 -0
  754. tooluniverse/tools/odphp_outlink_fetch.py +59 -0
  755. tooluniverse/tools/odphp_topicsearch.py +67 -0
  756. tooluniverse/tools/openalex_literature_search.py +67 -0
  757. tooluniverse/tools/reactome_disease_target_score.py +52 -0
  758. tooluniverse/tools/search_clinical_trials.py +67 -0
  759. tooluniverse/tools/visualize_molecule_2d.py +83 -0
  760. tooluniverse/tools/visualize_molecule_3d.py +91 -0
  761. tooluniverse/tools/visualize_protein_structure_3d.py +79 -0
  762. tooluniverse/unified_guideline_tools.py +1210 -0
  763. tooluniverse/unpaywall_tool.py +0 -1
  764. tooluniverse/utils.py +71 -2
  765. tooluniverse/visualization_tool.py +897 -0
  766. tooluniverse/wikidata_sparql_tool.py +1 -2
  767. tooluniverse/zenodo_tool.py +1 -3
  768. {tooluniverse-1.0.6.dist-info → tooluniverse-1.0.7.dist-info}/METADATA +11 -2
  769. tooluniverse-1.0.7.dist-info/RECORD +855 -0
  770. {tooluniverse-1.0.6.dist-info → tooluniverse-1.0.7.dist-info}/entry_points.txt +3 -0
  771. tooluniverse/test/list_azure_openai_models.py +0 -210
  772. tooluniverse/test/mcp_server_test.py +0 -0
  773. tooluniverse/test/test_admetai_tool.py +0 -370
  774. tooluniverse/test/test_agentic_tool.py +0 -129
  775. tooluniverse/test/test_agentic_tool_azure_models.py +0 -91
  776. tooluniverse/test/test_alphafold_tool.py +0 -108
  777. tooluniverse/test/test_api_key_validation_min.py +0 -64
  778. tooluniverse/test/test_chem_tool.py +0 -37
  779. tooluniverse/test/test_claude_sdk.py +0 -93
  780. tooluniverse/test/test_compose_lieraturereview.py +0 -63
  781. tooluniverse/test/test_compose_tool.py +0 -448
  782. tooluniverse/test/test_dailymed.py +0 -69
  783. tooluniverse/test/test_dataset_tool.py +0 -200
  784. tooluniverse/test/test_disease_target_score.py +0 -56
  785. tooluniverse/test/test_drugbank_filter_examples.py +0 -179
  786. tooluniverse/test/test_efo.py +0 -31
  787. tooluniverse/test/test_enrichr_tool.py +0 -21
  788. tooluniverse/test/test_europe_pmc_tool.py +0 -20
  789. tooluniverse/test/test_fda_adv.py +0 -95
  790. tooluniverse/test/test_fda_drug_labeling.py +0 -91
  791. tooluniverse/test/test_gene_ontology_tools.py +0 -66
  792. tooluniverse/test/test_global_fallback.py +0 -288
  793. tooluniverse/test/test_gwas_tool.py +0 -139
  794. tooluniverse/test/test_hooks_direct.py +0 -219
  795. tooluniverse/test/test_hpa.py +0 -625
  796. tooluniverse/test/test_humanbase_tool.py +0 -20
  797. tooluniverse/test/test_idmap_tools.py +0 -61
  798. tooluniverse/test/test_list_built_in_tools.py +0 -33
  799. tooluniverse/test/test_mcp_server.py +0 -211
  800. tooluniverse/test/test_mcp_tool.py +0 -247
  801. tooluniverse/test/test_medlineplus.py +0 -220
  802. tooluniverse/test/test_odphp_tool.py +0 -166
  803. tooluniverse/test/test_openalex_tool.py +0 -32
  804. tooluniverse/test/test_openrouter_client.py +0 -288
  805. tooluniverse/test/test_opentargets.py +0 -28
  806. tooluniverse/test/test_pubchem_tool.py +0 -116
  807. tooluniverse/test/test_pubtator_tool.py +0 -37
  808. tooluniverse/test/test_rcsb_pdb_tool.py +0 -86
  809. tooluniverse/test/test_reactome.py +0 -54
  810. tooluniverse/test/test_semantic_scholar_tool.py +0 -24
  811. tooluniverse/test/test_software_tools.py +0 -147
  812. tooluniverse/test/test_stdio_hooks.py +0 -285
  813. tooluniverse/test/test_tool_description_optimizer.py +0 -49
  814. tooluniverse/test/test_tool_finder.py +0 -26
  815. tooluniverse/test/test_tool_finder_llm.py +0 -252
  816. tooluniverse/test/test_tools_find.py +0 -195
  817. tooluniverse/test/test_uniprot_tools.py +0 -74
  818. tooluniverse/test/test_uspto_tool.py +0 -72
  819. tooluniverse/test/test_xml_tool.py +0 -113
  820. tooluniverse-1.0.6.dist-info/RECORD +0 -230
  821. {tooluniverse-1.0.6.dist-info → tooluniverse-1.0.7.dist-info}/WHEEL +0 -0
  822. {tooluniverse-1.0.6.dist-info → tooluniverse-1.0.7.dist-info}/licenses/LICENSE +0 -0
  823. {tooluniverse-1.0.6.dist-info → tooluniverse-1.0.7.dist-info}/top_level.txt +0 -0
@@ -1,91 +0,0 @@
1
- # === openfda_test_all_tools.py ===
2
-
3
- from tooluniverse import ToolUniverse
4
-
5
- # Step 1: Initialize tool universe
6
- tooluni = ToolUniverse()
7
- tooluni.load_tools()
8
-
9
- # Step 2: Define all test queries for all tools
10
- test_queries = [
11
- # # ====== Tests for FAERS_count_reactions_by_drug_event ======
12
- # {"name": "FAERS_count_reactions_by_drug_event", "arguments": {"medicinalproduct": "LIPITOR"}},
13
- # {"name": "FAERS_count_reactions_by_drug_event", "arguments": {"medicinalproduct": "LIPITOR", "patient.patientsex": "Male", "serious": "Serious"}},
14
- # {"name": "FAERS_count_reactions_by_drug_event", "arguments": {"medicinalproduct": "ASPIRIN", "patient.patientagegroup": "Adult"}},
15
- # {"name": "FAERS_count_reactions_by_drug_event", "arguments": {"medicinalproduct": "ADVIL", "patient.patientsex": "Female", "patient.patientagegroup": "Elderly", "occurcountry": "US", "serious": "Non-serious"}},
16
- # {"name": "FAERS_count_reactions_by_drug_event", "arguments": {"medicinalproduct": "ADVIL", "seriousnessdeath": "Yes"}},
17
- # # ====== Tests for FAERS_count_drugs_by_drug_event ======
18
- # {"name": "FAERS_count_drugs_by_drug_event", "arguments": {"patient.patientsex": "Female"}},
19
- # {"name": "FAERS_count_drugs_by_drug_event", "arguments": {"patient.patientagegroup": "Child"}},
20
- # {"name": "FAERS_count_drugs_by_drug_event", "arguments": {"serious": "Serious"}},
21
- # {"name": "FAERS_count_drugs_by_drug_event", "arguments": {"occurcountry": "CA", "serious": "Non-serious"}},
22
- # # ====== Tests for FAERS_count_country_by_drug_event ======
23
- # {"name": "FAERS_count_country_by_drug_event", "arguments": {"medicinalproduct": "METFORMIN"}},
24
- # {"name": "FAERS_count_country_by_drug_event", "arguments": {"medicinalproduct": "INSULIN", "patient.patientsex": "Male"}},
25
- # {"name": "FAERS_count_country_by_drug_event", "arguments": {"medicinalproduct": "ASPIRIN", "serious": "Serious"}},
26
- # {"name": "FAERS_count_country_by_drug_event", "arguments": {"medicinalproduct": "STATIN", "patient.patientsex": "Female", "patient.patientagegroup": "Adult", "serious": "Non-serious"}},
27
- # # ====== Tests for FAERS_count_reportercountry_by_drug_event ======
28
- # {"name": "FAERS_count_reportercountry_by_drug_event", "arguments": {"medicinalproduct": "LANTUS"}},
29
- # {"name": "FAERS_count_reportercountry_by_drug_event", "arguments": {"medicinalproduct": "AMLODIPINE", "patient.patientsex": "Unknown"}},
30
- # {"name": "FAERS_count_reportercountry_by_drug_event", "arguments": {"medicinalproduct": "ATORVASTATIN", "patient.patientagegroup": "Elderly"}},
31
- # {"name": "FAERS_count_reportercountry_by_drug_event", "arguments": {"medicinalproduct": "GABAPENTIN", "patient.patientsex": "Male", "patient.patientagegroup": "Adult", "serious": "Serious"}},
32
- # # ====== Tests for FAERS_count_seriousness_by_drug_event ======
33
- # {"name": "FAERS_count_seriousness_by_drug_event", "arguments": {"medicinalproduct": "NAPROXEN"}},
34
- # {"name": "FAERS_count_seriousness_by_drug_event", "arguments": {"medicinalproduct": "ALBUTEROL", "patient.patientsex": "Female"}},
35
- # {"name": "FAERS_count_seriousness_by_drug_event", "arguments": {"medicinalproduct": "PREDNISONE", "patient.patientagegroup": "Child"}},
36
- # {"name": "FAERS_count_seriousness_by_drug_event", "arguments": {"medicinalproduct": "METHOTREXATE", "patient.patientsex": "Male", "patient.patientagegroup": "Adult", "occurcountry": "US"}},
37
- # # ====== Tests for FAERS_count_outcomes_by_drug_event ======
38
- # {"name": "FAERS_count_outcomes_by_drug_event", "arguments": {"medicinalproduct": "IBUPROFEN"}},
39
- # {"name": "FAERS_count_outcomes_by_drug_event", "arguments": {"medicinalproduct": "IBUPROFEN", "patient.patientsex": "Female", "occurcountry": "GB"}},
40
- # {"name": "FAERS_count_outcomes_by_drug_event", "arguments": {"medicinalproduct": "IBUPROFEN", "patient.patientsex": "Male", "patient.patientagegroup": "Adolescent"}},
41
- # # ====== Tests for FAERS_count_drug_routes_by_event ======
42
- # {"name": "FAERS_count_drug_routes_by_event", "arguments": {"medicinalproduct": "INSULIN", "serious": "Serious"}},
43
- # {"name": "FAERS_count_drug_routes_by_event", "arguments": {"medicinalproduct": "MORPHINE", "serious": "Non-serious"}},
44
- # # ====== Tests for FAERS_count_patient_age_distribution ======
45
- # {"name": "FAERS_count_patient_age_distribution", "arguments": {"medicinalproduct": "PENICILLIN"}},
46
- # {"name": "FAERS_count_patient_age_distribution", "arguments": {"medicinalproduct": "ACETAMINOPHEN"}},
47
- # ====== Tests for FAERS_count_death_related_by_drug ======
48
- # {"name": "FAERS_count_death_related_by_drug", "arguments": {"medicinalproduct": "FENTANYL"}},
49
- # {"name": "FAERS_count_death_related_by_drug", "arguments": {"medicinalproduct": "WARFARIN"}},
50
- # # ====== Tests for FAERS_count_additive_adverse_reactions ======
51
- # {"name": "FAERS_count_additive_adverse_reactions", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
52
- # {"name": "FAERS_count_additive_adverse_reactions", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "patient.patientsex": "Male"}},
53
- # {"name": "FAERS_count_additive_adverse_reactions", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "serious": "Serious"}},
54
- # # ====== Tests for FAERS_count_additive_event_reports_by_country ======
55
- # {"name": "FAERS_count_additive_event_reports_by_country", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
56
- # {"name": "FAERS_count_additive_event_reports_by_country", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "serious": "Non-serious"}},
57
- # # ====== Tests for FAERS_count_additive_reports_by_reporter_country ======
58
- # {"name": "FAERS_count_additive_reports_by_reporter_country", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
59
- # {"name": "FAERS_count_additive_reports_by_reporter_country", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "patient.patientagegroup": "Elderly"}},
60
- # # ====== Tests for FAERS_count_additive_seriousness_classification ======
61
- # {"name": "FAERS_count_additive_seriousness_classification", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
62
- # {"name": "FAERS_count_additive_seriousness_classification", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "occurcountry": "CA"}},
63
- # ====== Tests for FAERS_count_additive_reaction_outcomes ======
64
- # {"name": "FAERS_count_additive_reaction_outcomes", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
65
- # {"name": "FAERS_count_additive_reaction_outcomes", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
66
- # ====== Tests for FAERS_count_additive_administration_routes ======
67
- # {"name": "FAERS_count_additive_administration_routes", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"]}},
68
- # {"name": "FAERS_count_additive_administration_routes", "arguments": {"medicinalproducts": ["LIPITOR", "ASPIRIN"], "serious": "Non-serious"}},
69
- # {'name': 'FAERS_count_additive_seriousness_classification', 'arguments': {'medicinalproducts': ['Dysport'], 'occurcountry': 'US', 'patient.patientagegroup': 'Adult'}},
70
- {
71
- "name": "FDA_get_drug_names_by_clinical_studies",
72
- "arguments": {
73
- "clinical_studies": "NSCLC hepatic impairment",
74
- "indication": "cardiovascular",
75
- },
76
- },
77
- ]
78
-
79
- # Step 3: Run all test queries
80
- for idx, query in enumerate(test_queries):
81
- try:
82
- print(
83
- f"\n[{idx+1}] Running tool: {query['name']} with arguments: {query['arguments']}"
84
- )
85
- result = tooluni.run(query)
86
- print("✅ Success. Example output snippet:")
87
- print(
88
- result if isinstance(result, dict) else str(result)[:500]
89
- ) # Print snippet if result is big
90
- except Exception as e:
91
- print(f"❌ Failed. Error: {str(e)}")
@@ -1,66 +0,0 @@
1
- # test_go.py
2
-
3
- from tooluniverse import (
4
- ToolUniverse,
5
- ) # Assuming your ToolUniverse class is in this module
6
- from typing import Any, Dict, List
7
-
8
- # Step 1: Initialize ToolUniverse and load the GO tools
9
- tooluni = ToolUniverse()
10
- # This assumes your ToolUniverse is configured to find 'go_tools.json'
11
- # when the 'go' category is requested.
12
- tooluni.load_tools(["go"])
13
-
14
- # Test GO ID for cell cycle process
15
- TEST_GO_ID = "GO:0007049" # cell cycle
16
- TEST_GENE_NAME = "TP53" # TP53 gene
17
-
18
- test_queries: List[Dict[str, Any]] = [
19
- {"name": "GO_search_terms", "arguments": {"query": "cell cycle"}},
20
- {"name": "GO_get_term_by_id", "arguments": {"id": TEST_GO_ID}},
21
- {"name": "GO_get_term_details", "arguments": {"id": TEST_GO_ID}},
22
- {"name": "GO_get_genes_for_term", "arguments": {"id": TEST_GO_ID, "rows": 5}},
23
- {"name": "GO_get_annotations_for_gene", "arguments": {"gene_id": TEST_GENE_NAME}},
24
- ]
25
-
26
-
27
- def format_value(value, max_items=5, max_length=200):
28
- """Helper function to format output values with more detail"""
29
- if isinstance(value, dict):
30
- dict_str = str(value)
31
- return f"Dict ({len(dict_str)} chars): {dict_str[:500]}{'...' if len(dict_str) > 500 else ''}"
32
- elif isinstance(value, list):
33
- if not value:
34
- return "Empty list"
35
- items_to_show = value[:max_items]
36
- items_str = "\n - ".join(
37
- [
38
- str(item)[:max_length] + ("..." if len(str(item)) > max_length else "")
39
- for item in items_to_show
40
- ]
41
- )
42
- remaining = len(value) - max_items
43
- return f"List with {len(value)} items:\n - {items_str}" + (
44
- f"\n ... and {remaining} more items" if remaining > 0 else ""
45
- )
46
- elif isinstance(value, str):
47
- return f"String ({len(value)} chars): {value[:max_length]}{'...' if len(value) > max_length else ''}"
48
- else:
49
- return f"Type: {type(value)}, Value: {value}"
50
-
51
-
52
- print("--- Starting Gene Ontology (GO) Tool Test ---")
53
-
54
- for idx, q in enumerate(test_queries, 1):
55
- print(
56
- f"\n{'='*80}\n[{idx}] {q['name']}({', '.join([f'{k}={v}' for k, v in q['arguments'].items()])})"
57
- )
58
- res = tooluni.run(q)
59
-
60
- if isinstance(res, dict) and "error" in res:
61
- print(f"ERROR: {res['error']}")
62
- else:
63
- print(format_value(res))
64
- print()
65
-
66
- print("\n--- GO Tool Test Completed ---")
@@ -1,288 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Test script to verify global fallback functionality in AgenticTool.
4
- Tests the system-wide default fallback chain.
5
- """
6
-
7
- import os
8
- import json
9
- from src.tooluniverse.agentic_tool import AgenticTool
10
-
11
-
12
- def test_default_global_fallback():
13
- """Test: Tool uses default global fallback chain when no explicit fallback is configured."""
14
-
15
- print("=== Test 1: Default Global Fallback Chain ===\n")
16
-
17
- # Remove Gemini API key to force fallback
18
- original_gemini_key = os.environ.get("GEMINI_API_KEY")
19
- if "GEMINI_API_KEY" in os.environ:
20
- del os.environ["GEMINI_API_KEY"]
21
-
22
- try:
23
- # Create tool with only primary API (no explicit fallback)
24
- tool = AgenticTool(
25
- {
26
- "name": "gemini_with_global_fallback",
27
- "api_type": "GEMINI",
28
- "model_id": "gemini-2.0-flash",
29
- # No fallback_api_type configured - should use global fallback
30
- "prompt": "You are a helpful assistant. Answer: {question}",
31
- "input_arguments": ["question"],
32
- }
33
- )
34
-
35
- print(f"Tool available: {tool.is_available()}")
36
- print(f"Current API: {tool._current_api_type}")
37
- print(f"Current model: {tool._current_model_id}")
38
- print(f"Original config: {tool._api_type} with {tool._model_id}")
39
- print(f"Global fallback enabled: {tool._use_global_fallback}")
40
- print(f"Global fallback chain: {tool._global_fallback_chain}")
41
-
42
- if tool.is_available():
43
- result = tool.run({"question": "What is 2+2?"})
44
- if result.get("success"):
45
- print(f"✅ Tool worked with global fallback: {result['result']}")
46
- else:
47
- print(f"❌ Tool failed: {result['error']}")
48
- else:
49
- print(f"❌ Tool not available: {tool._initialization_error}")
50
-
51
- finally:
52
- # Restore Gemini key
53
- if original_gemini_key:
54
- os.environ["GEMINI_API_KEY"] = original_gemini_key
55
-
56
-
57
- def test_custom_global_fallback():
58
- """Test: Tool uses custom global fallback chain from environment variable."""
59
-
60
- print("\n=== Test 2: Custom Global Fallback Chain ===\n")
61
-
62
- # Set custom global fallback chain
63
- custom_chain = [
64
- {"api_type": "GEMINI", "model_id": "gemini-2.0-flash"},
65
- {"api_type": "CHATGPT", "model_id": "gpt-4o-mini-0718"},
66
- ]
67
- os.environ["AGENTIC_TOOL_FALLBACK_CHAIN"] = json.dumps(custom_chain)
68
-
69
- # Remove Azure OpenAI API key to force fallback
70
- original_azure_key = os.environ.get("AZURE_OPENAI_API_KEY")
71
- if "AZURE_OPENAI_API_KEY" in os.environ:
72
- del os.environ["AZURE_OPENAI_API_KEY"]
73
-
74
- try:
75
- # Create tool with ChatGPT as primary
76
- tool = AgenticTool(
77
- {
78
- "name": "chatgpt_with_custom_global_fallback",
79
- "api_type": "CHATGPT",
80
- "model_id": "gpt-4o-1120",
81
- "prompt": "You are a helpful assistant. Answer: {question}",
82
- "input_arguments": ["question"],
83
- }
84
- )
85
-
86
- print(f"Tool available: {tool.is_available()}")
87
- print(f"Current API: {tool._current_api_type}")
88
- print(f"Current model: {tool._current_model_id}")
89
- print(f"Original config: {tool._api_type} with {tool._model_id}")
90
- print(f"Custom global fallback chain: {tool._global_fallback_chain}")
91
-
92
- if tool.is_available():
93
- result = tool.run({"question": "What is 2+2?"})
94
- if result.get("success"):
95
- print(f"✅ Tool worked with custom global fallback: {result['result']}")
96
- else:
97
- print(f"❌ Tool failed: {result['error']}")
98
- else:
99
- print(f"❌ Tool not available: {tool._initialization_error}")
100
-
101
- finally:
102
- # Restore Azure key and remove custom chain
103
- if original_azure_key:
104
- os.environ["AZURE_OPENAI_API_KEY"] = original_azure_key
105
- if "AGENTIC_TOOL_FALLBACK_CHAIN" in os.environ:
106
- del os.environ["AGENTIC_TOOL_FALLBACK_CHAIN"]
107
-
108
-
109
- def test_disable_global_fallback():
110
- """Test: Tool can disable global fallback."""
111
-
112
- print("\n=== Test 3: Disable Global Fallback ===\n")
113
-
114
- # Remove Azure OpenAI API key
115
- original_azure_key = os.environ.get("AZURE_OPENAI_API_KEY")
116
- if "AZURE_OPENAI_API_KEY" in os.environ:
117
- del os.environ["AZURE_OPENAI_API_KEY"]
118
-
119
- try:
120
- # Create tool with global fallback disabled
121
- tool = AgenticTool(
122
- {
123
- "name": "no_global_fallback",
124
- "api_type": "CHATGPT",
125
- "model_id": "gpt-4o-1120",
126
- "use_global_fallback": False, # Disable global fallback
127
- "prompt": "You are a helpful assistant. Answer: {question}",
128
- "input_arguments": ["question"],
129
- }
130
- )
131
-
132
- print(f"Tool available: {tool.is_available()}")
133
- print(f"Current API: {tool._current_api_type}")
134
- print(f"Current model: {tool._current_model_id}")
135
- print(f"Global fallback enabled: {tool._use_global_fallback}")
136
-
137
- if tool.is_available():
138
- result = tool.run({"question": "What is 2+2?"})
139
- print(f"Unexpected success: {result}")
140
- else:
141
- print(
142
- f"✅ Tool correctly failed without global fallback: {tool._initialization_error}"
143
- )
144
-
145
- finally:
146
- # Restore Azure key
147
- if original_azure_key:
148
- os.environ["AZURE_OPENAI_API_KEY"] = original_azure_key
149
-
150
-
151
- def test_explicit_fallback_priority():
152
- """Test: Explicit fallback takes priority over global fallback."""
153
-
154
- print("\n=== Test 4: Explicit Fallback Priority ===\n")
155
-
156
- # Remove Gemini API key
157
- original_gemini_key = os.environ.get("GEMINI_API_KEY")
158
- if "GEMINI_API_KEY" in os.environ:
159
- del os.environ["GEMINI_API_KEY"]
160
-
161
- try:
162
- # Create tool with both explicit and global fallback
163
- tool = AgenticTool(
164
- {
165
- "name": "explicit_vs_global_fallback",
166
- "api_type": "GEMINI",
167
- "model_id": "gemini-2.0-flash",
168
- "fallback_api_type": "CHATGPT", # Explicit fallback
169
- "fallback_model_id": "gpt-4o-mini-0718", # Different from global default
170
- "prompt": "You are a helpful assistant. Answer: {question}",
171
- "input_arguments": ["question"],
172
- }
173
- )
174
-
175
- print(f"Tool available: {tool.is_available()}")
176
- print(f"Current API: {tool._current_api_type}")
177
- print(f"Current model: {tool._current_model_id}")
178
- print(
179
- f"Explicit fallback: {tool._fallback_api_type} ({tool._fallback_model_id})"
180
- )
181
- print(f"Global fallback chain: {tool._global_fallback_chain}")
182
-
183
- if tool.is_available():
184
- result = tool.run({"question": "What is 2+2?"})
185
- if result.get("success"):
186
- print(f"✅ Tool worked with explicit fallback: {result['result']}")
187
- # Check if it used explicit fallback (gpt-4o-mini-0718) instead of global default (gpt-4o-1120)
188
- if tool._current_model_id == "gpt-4o-mini-0718":
189
- print("✅ Used explicit fallback as expected")
190
- else:
191
- print(
192
- f"⚠️ Used {tool._current_model_id} instead of explicit fallback"
193
- )
194
- else:
195
- print(f"❌ Tool failed: {result['error']}")
196
- else:
197
- print(f"❌ Tool not available: {tool._initialization_error}")
198
-
199
- finally:
200
- # Restore Gemini key
201
- if original_gemini_key:
202
- os.environ["GEMINI_API_KEY"] = original_gemini_key
203
-
204
-
205
- def test_multiple_tools_global_fallback():
206
- """Test: Multiple tools using global fallback."""
207
-
208
- print("\n=== Test 5: Multiple Tools with Global Fallback ===\n")
209
-
210
- # Remove Gemini API key to force fallback for Gemini tools
211
- original_gemini_key = os.environ.get("GEMINI_API_KEY")
212
- if "GEMINI_API_KEY" in os.environ:
213
- del os.environ["GEMINI_API_KEY"]
214
-
215
- try:
216
- tools_config = [
217
- {
218
- "name": "gemini_tool_1",
219
- "api_type": "GEMINI",
220
- "model_id": "gemini-2.0-flash",
221
- "prompt": "Gemini tool 1: {question}",
222
- "input_arguments": ["question"],
223
- },
224
- {
225
- "name": "gemini_tool_2",
226
- "api_type": "GEMINI",
227
- "model_id": "gemini-2.0-flash",
228
- "prompt": "Gemini tool 2: {question}",
229
- "input_arguments": ["question"],
230
- },
231
- {
232
- "name": "chatgpt_tool",
233
- "api_type": "CHATGPT",
234
- "model_id": "gpt-4o-1120",
235
- "prompt": "ChatGPT tool: {question}",
236
- "input_arguments": ["question"],
237
- },
238
- ]
239
-
240
- tools = []
241
- for config in tools_config:
242
- tool = AgenticTool(config)
243
- tools.append(tool)
244
-
245
- status = "✅ Available" if tool.is_available() else "❌ Unavailable"
246
- current_api = (
247
- f"{tool._current_api_type} ({tool._current_model_id})"
248
- if tool._current_api_type
249
- else "None"
250
- )
251
- print(f"{config['name']}: {status} - Using: {current_api}")
252
-
253
- print()
254
-
255
- # Test all available tools
256
- available_tools = [tool for tool in tools if tool.is_available()]
257
- if available_tools:
258
- print("=== Testing Available Tools ===")
259
- for tool in available_tools:
260
- result = tool.run({"question": "Hello!"})
261
- if result.get("success"):
262
- print(f"✅ {tool.name}: {result['result'][:50]}...")
263
- else:
264
- print(f"❌ {tool.name}: {result['error']}")
265
-
266
- finally:
267
- # Restore Gemini key
268
- if original_gemini_key:
269
- os.environ["GEMINI_API_KEY"] = original_gemini_key
270
-
271
-
272
- if __name__ == "__main__":
273
- test_default_global_fallback()
274
- test_custom_global_fallback()
275
- test_disable_global_fallback()
276
- test_explicit_fallback_priority()
277
- test_multiple_tools_global_fallback()
278
-
279
- print("\n=== Summary ===")
280
- print("✅ Global fallback chain works as default")
281
- print("✅ Custom global fallback chain from environment variable")
282
- print("✅ Global fallback can be disabled per tool")
283
- print("✅ Explicit fallback takes priority over global fallback")
284
- print("✅ Multiple tools can use global fallback independently")
285
- print("\n=== Configuration Options ===")
286
- print("• use_global_fallback: true/false (default: true)")
287
- print("• AGENTIC_TOOL_FALLBACK_CHAIN: JSON array of {api_type, model_id}")
288
- print("• Explicit fallback_api_type/fallback_model_id takes priority")
@@ -1,139 +0,0 @@
1
- # test_gwas_tool.py
2
-
3
- from tooluniverse import ToolUniverse
4
-
5
- # Step 1: Initialize ToolUniverse and load all tools (including GWAS tools)
6
- tooluni = ToolUniverse()
7
- tooluni.load_tools()
8
-
9
- # Step 2: Define test queries for GWAS tools based on the examples
10
- test_queries = [
11
- # Test basic association search (Question 1 from examples)
12
- {
13
- "name": "gwas_search_associations",
14
- "arguments": {"efo_trait": "type 2 diabetes mellitus", "size": 10},
15
- },
16
- # Test study search (Question 2 from examples)
17
- {
18
- "name": "gwas_search_studies",
19
- "arguments": {"disease_trait": "type 2 diabetes", "cohort": "UKB", "size": 20},
20
- },
21
- # Test SNP search (Question 3 from examples)
22
- {
23
- "name": "gwas_search_associations",
24
- "arguments": {
25
- "rs_id": "rs1050316",
26
- "sort": "p_value",
27
- "direction": "asc",
28
- "size": 10,
29
- },
30
- },
31
- # Test gene-based SNP search (Question 10 from examples)
32
- {"name": "gwas_search_snps", "arguments": {"mapped_gene": "HBS1L", "size": 10}},
33
- # Test specialized tools
34
- {
35
- "name": "gwas_get_variants_for_trait",
36
- "arguments": {"efo_trait": "type 2 diabetes mellitus", "size": 5},
37
- },
38
- {
39
- "name": "gwas_get_associations_for_trait",
40
- "arguments": {"efo_trait": "type 2 diabetes mellitus", "size": 5},
41
- },
42
- {
43
- "name": "gwas_get_associations_for_snp",
44
- "arguments": {"rs_id": "rs1050316", "size": 5},
45
- },
46
- {
47
- "name": "gwas_get_studies_for_trait",
48
- "arguments": {"efo_trait": "type 2 diabetes mellitus", "size": 5},
49
- },
50
- {
51
- "name": "gwas_get_snps_for_gene",
52
- "arguments": {"mapped_gene": "HBS1L", "size": 5},
53
- },
54
- # Test get by ID tools
55
- {"name": "gwas_get_study_by_id", "arguments": {"study_id": "GCST000001"}},
56
- {"name": "gwas_get_snp_by_id", "arguments": {"rs_id": "rs429358"}},
57
- # Test studies with summary statistics (Question 9 from examples)
58
- {
59
- "name": "gwas_get_studies_for_trait",
60
- "arguments": {
61
- "efo_trait": "type 2 diabetes mellitus",
62
- "full_pvalue_set": True,
63
- "size": 5,
64
- },
65
- },
66
- # Test GxE studies (Question 11 from examples)
67
- {
68
- "name": "gwas_get_studies_for_trait",
69
- "arguments": {
70
- "efo_trait": "total blood protein measurement",
71
- "gxe": True,
72
- "size": 5,
73
- },
74
- },
75
- ]
76
-
77
-
78
- def format_value(value, max_items=10, max_length=5000):
79
- """Helper function to format output values"""
80
- if isinstance(value, dict):
81
- if "error" in value:
82
- return f"ERROR: {value['error']}"
83
-
84
- # Show the structure of the response
85
- if "data" in value and "metadata" in value:
86
- result = "Response Structure:\n"
87
- result += f" Data: {len(value['data'])} items\n"
88
- if value["metadata"]:
89
- result += f" Metadata: {value['metadata']}\n"
90
-
91
- # Show first few data items
92
- if value["data"]:
93
- result += f"\nFirst {min(max_items, len(value['data']))} data items:\n"
94
- for i, item in enumerate(value["data"][:max_items]):
95
- item_str = str(item)
96
- if len(item_str) > max_length:
97
- item_str = item_str[:max_length] + "..."
98
- result += f" [{i+1}] {item_str}\n"
99
-
100
- if len(value["data"]) > max_items:
101
- result += f" ... and {len(value['data']) - max_items} more items\n"
102
-
103
- return result
104
- else:
105
- # Fallback for non-structured responses
106
- dict_str = str(value)
107
- return f"Dict ({len(dict_str)} chars): {dict_str[:max_length]}{'...' if len(dict_str) > max_length else ''}"
108
- elif isinstance(value, list):
109
- if not value:
110
- return "Empty list"
111
- items_to_show = value[:max_items]
112
- items_str = "\n - ".join(
113
- [
114
- str(item)[:max_length] + ("..." if len(str(item)) > max_length else "")
115
- for item in items_to_show
116
- ]
117
- )
118
- remaining = len(value) - max_items
119
- return f"List with {len(value)} items:\n - {items_str}" + (
120
- f"\n ... and {remaining} more items" if remaining > 0 else ""
121
- )
122
- elif isinstance(value, str):
123
- return f"String ({len(value)} chars): {value[:max_length]}{'...' if len(value) > max_length else ''}"
124
- else:
125
- return f"Type: {type(value)}, Value: {value}"
126
-
127
-
128
- # Step 3: Run all test queries
129
- for idx, query in enumerate(test_queries, 1):
130
- print(
131
- f"\n{'='*80}\n[{idx}] Running tool: {query['name']} with arguments: {query['arguments']}"
132
- )
133
- try:
134
- result = tooluni.run(query)
135
- print("✅ Success. Output:")
136
- print(format_value(result))
137
- except (ImportError, AttributeError, KeyError, ValueError) as e:
138
- print(f"❌ Failed. Error: {str(e)}")
139
- print()