tooluniverse 0.2.0__py3-none-any.whl → 1.0.1__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 (186) hide show
  1. tooluniverse/__init__.py +340 -4
  2. tooluniverse/admetai_tool.py +84 -0
  3. tooluniverse/agentic_tool.py +563 -0
  4. tooluniverse/alphafold_tool.py +96 -0
  5. tooluniverse/base_tool.py +129 -6
  6. tooluniverse/boltz_tool.py +207 -0
  7. tooluniverse/chem_tool.py +192 -0
  8. tooluniverse/compose_scripts/__init__.py +1 -0
  9. tooluniverse/compose_scripts/biomarker_discovery.py +293 -0
  10. tooluniverse/compose_scripts/comprehensive_drug_discovery.py +186 -0
  11. tooluniverse/compose_scripts/drug_safety_analyzer.py +89 -0
  12. tooluniverse/compose_scripts/literature_tool.py +34 -0
  13. tooluniverse/compose_scripts/output_summarizer.py +279 -0
  14. tooluniverse/compose_scripts/tool_description_optimizer.py +681 -0
  15. tooluniverse/compose_scripts/tool_discover.py +705 -0
  16. tooluniverse/compose_scripts/tool_graph_composer.py +448 -0
  17. tooluniverse/compose_tool.py +371 -0
  18. tooluniverse/ctg_tool.py +1002 -0
  19. tooluniverse/custom_tool.py +81 -0
  20. tooluniverse/dailymed_tool.py +108 -0
  21. tooluniverse/data/admetai_tools.json +155 -0
  22. tooluniverse/data/adverse_event_tools.json +108 -0
  23. tooluniverse/data/agentic_tools.json +1156 -0
  24. tooluniverse/data/alphafold_tools.json +87 -0
  25. tooluniverse/data/boltz_tools.json +9 -0
  26. tooluniverse/data/chembl_tools.json +16 -0
  27. tooluniverse/data/clinicaltrials_gov_tools.json +326 -0
  28. tooluniverse/data/compose_tools.json +202 -0
  29. tooluniverse/data/dailymed_tools.json +70 -0
  30. tooluniverse/data/dataset_tools.json +646 -0
  31. tooluniverse/data/disease_target_score_tools.json +712 -0
  32. tooluniverse/data/efo_tools.json +17 -0
  33. tooluniverse/data/embedding_tools.json +319 -0
  34. tooluniverse/data/enrichr_tools.json +31 -0
  35. tooluniverse/data/europe_pmc_tools.json +22 -0
  36. tooluniverse/data/expert_feedback_tools.json +10 -0
  37. tooluniverse/data/fda_drug_adverse_event_tools.json +491 -0
  38. tooluniverse/data/fda_drug_labeling_tools.json +1 -1
  39. tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py +76929 -148860
  40. tooluniverse/data/finder_tools.json +209 -0
  41. tooluniverse/data/gene_ontology_tools.json +113 -0
  42. tooluniverse/data/gwas_tools.json +1082 -0
  43. tooluniverse/data/hpa_tools.json +333 -0
  44. tooluniverse/data/humanbase_tools.json +47 -0
  45. tooluniverse/data/idmap_tools.json +74 -0
  46. tooluniverse/data/mcp_client_tools_example.json +113 -0
  47. tooluniverse/data/mcpautoloadertool_defaults.json +28 -0
  48. tooluniverse/data/medlineplus_tools.json +141 -0
  49. tooluniverse/data/monarch_tools.json +1 -1
  50. tooluniverse/data/openalex_tools.json +36 -0
  51. tooluniverse/data/opentarget_tools.json +1 -1
  52. tooluniverse/data/output_summarization_tools.json +101 -0
  53. tooluniverse/data/packages/bioinformatics_core_tools.json +1756 -0
  54. tooluniverse/data/packages/categorized_tools.txt +206 -0
  55. tooluniverse/data/packages/cheminformatics_tools.json +347 -0
  56. tooluniverse/data/packages/earth_sciences_tools.json +74 -0
  57. tooluniverse/data/packages/genomics_tools.json +776 -0
  58. tooluniverse/data/packages/image_processing_tools.json +38 -0
  59. tooluniverse/data/packages/machine_learning_tools.json +789 -0
  60. tooluniverse/data/packages/neuroscience_tools.json +62 -0
  61. tooluniverse/data/packages/original_tools.txt +0 -0
  62. tooluniverse/data/packages/physics_astronomy_tools.json +62 -0
  63. tooluniverse/data/packages/scientific_computing_tools.json +560 -0
  64. tooluniverse/data/packages/single_cell_tools.json +453 -0
  65. tooluniverse/data/packages/structural_biology_tools.json +396 -0
  66. tooluniverse/data/packages/visualization_tools.json +399 -0
  67. tooluniverse/data/pubchem_tools.json +215 -0
  68. tooluniverse/data/pubtator_tools.json +68 -0
  69. tooluniverse/data/rcsb_pdb_tools.json +1332 -0
  70. tooluniverse/data/reactome_tools.json +19 -0
  71. tooluniverse/data/semantic_scholar_tools.json +26 -0
  72. tooluniverse/data/special_tools.json +2 -25
  73. tooluniverse/data/tool_composition_tools.json +88 -0
  74. tooluniverse/data/toolfinderkeyword_defaults.json +34 -0
  75. tooluniverse/data/txagent_client_tools.json +9 -0
  76. tooluniverse/data/uniprot_tools.json +211 -0
  77. tooluniverse/data/url_fetch_tools.json +94 -0
  78. tooluniverse/data/uspto_downloader_tools.json +9 -0
  79. tooluniverse/data/uspto_tools.json +811 -0
  80. tooluniverse/data/xml_tools.json +3275 -0
  81. tooluniverse/dataset_tool.py +296 -0
  82. tooluniverse/default_config.py +165 -0
  83. tooluniverse/efo_tool.py +42 -0
  84. tooluniverse/embedding_database.py +630 -0
  85. tooluniverse/embedding_sync.py +396 -0
  86. tooluniverse/enrichr_tool.py +266 -0
  87. tooluniverse/europe_pmc_tool.py +52 -0
  88. tooluniverse/execute_function.py +1775 -95
  89. tooluniverse/extended_hooks.py +444 -0
  90. tooluniverse/gene_ontology_tool.py +194 -0
  91. tooluniverse/graphql_tool.py +158 -36
  92. tooluniverse/gwas_tool.py +358 -0
  93. tooluniverse/hpa_tool.py +1645 -0
  94. tooluniverse/humanbase_tool.py +389 -0
  95. tooluniverse/logging_config.py +254 -0
  96. tooluniverse/mcp_client_tool.py +764 -0
  97. tooluniverse/mcp_integration.py +413 -0
  98. tooluniverse/mcp_tool_registry.py +925 -0
  99. tooluniverse/medlineplus_tool.py +337 -0
  100. tooluniverse/openalex_tool.py +228 -0
  101. tooluniverse/openfda_adv_tool.py +283 -0
  102. tooluniverse/openfda_tool.py +393 -160
  103. tooluniverse/output_hook.py +1122 -0
  104. tooluniverse/package_tool.py +195 -0
  105. tooluniverse/pubchem_tool.py +158 -0
  106. tooluniverse/pubtator_tool.py +168 -0
  107. tooluniverse/rcsb_pdb_tool.py +38 -0
  108. tooluniverse/reactome_tool.py +108 -0
  109. tooluniverse/remote/boltz/boltz_mcp_server.py +50 -0
  110. tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +442 -0
  111. tooluniverse/remote/expert_feedback/human_expert_mcp_tools.py +2013 -0
  112. tooluniverse/remote/expert_feedback/simple_test.py +23 -0
  113. tooluniverse/remote/expert_feedback/start_web_interface.py +188 -0
  114. tooluniverse/remote/expert_feedback/web_only_interface.py +0 -0
  115. tooluniverse/remote/immune_compass/compass_tool.py +327 -0
  116. tooluniverse/remote/pinnacle/pinnacle_tool.py +328 -0
  117. tooluniverse/remote/transcriptformer/transcriptformer_tool.py +586 -0
  118. tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +61 -0
  119. tooluniverse/remote/uspto_downloader/uspto_downloader_tool.py +120 -0
  120. tooluniverse/remote_tool.py +99 -0
  121. tooluniverse/restful_tool.py +53 -30
  122. tooluniverse/scripts/generate_tool_graph.py +408 -0
  123. tooluniverse/scripts/visualize_tool_graph.py +829 -0
  124. tooluniverse/semantic_scholar_tool.py +62 -0
  125. tooluniverse/smcp.py +2452 -0
  126. tooluniverse/smcp_server.py +975 -0
  127. tooluniverse/test/mcp_server_test.py +0 -0
  128. tooluniverse/test/test_admetai_tool.py +370 -0
  129. tooluniverse/test/test_agentic_tool.py +129 -0
  130. tooluniverse/test/test_alphafold_tool.py +71 -0
  131. tooluniverse/test/test_chem_tool.py +37 -0
  132. tooluniverse/test/test_compose_lieraturereview.py +63 -0
  133. tooluniverse/test/test_compose_tool.py +448 -0
  134. tooluniverse/test/test_dailymed.py +69 -0
  135. tooluniverse/test/test_dataset_tool.py +200 -0
  136. tooluniverse/test/test_disease_target_score.py +56 -0
  137. tooluniverse/test/test_drugbank_filter_examples.py +179 -0
  138. tooluniverse/test/test_efo.py +31 -0
  139. tooluniverse/test/test_enrichr_tool.py +21 -0
  140. tooluniverse/test/test_europe_pmc_tool.py +20 -0
  141. tooluniverse/test/test_fda_adv.py +95 -0
  142. tooluniverse/test/test_fda_drug_labeling.py +91 -0
  143. tooluniverse/test/test_gene_ontology_tools.py +66 -0
  144. tooluniverse/test/test_gwas_tool.py +139 -0
  145. tooluniverse/test/test_hpa.py +625 -0
  146. tooluniverse/test/test_humanbase_tool.py +20 -0
  147. tooluniverse/test/test_idmap_tools.py +61 -0
  148. tooluniverse/test/test_mcp_server.py +211 -0
  149. tooluniverse/test/test_mcp_tool.py +247 -0
  150. tooluniverse/test/test_medlineplus.py +220 -0
  151. tooluniverse/test/test_openalex_tool.py +32 -0
  152. tooluniverse/test/test_opentargets.py +28 -0
  153. tooluniverse/test/test_pubchem_tool.py +116 -0
  154. tooluniverse/test/test_pubtator_tool.py +37 -0
  155. tooluniverse/test/test_rcsb_pdb_tool.py +86 -0
  156. tooluniverse/test/test_reactome.py +54 -0
  157. tooluniverse/test/test_semantic_scholar_tool.py +24 -0
  158. tooluniverse/test/test_software_tools.py +147 -0
  159. tooluniverse/test/test_tool_description_optimizer.py +49 -0
  160. tooluniverse/test/test_tool_finder.py +26 -0
  161. tooluniverse/test/test_tool_finder_llm.py +252 -0
  162. tooluniverse/test/test_tools_find.py +195 -0
  163. tooluniverse/test/test_uniprot_tools.py +74 -0
  164. tooluniverse/test/test_uspto_tool.py +72 -0
  165. tooluniverse/test/test_xml_tool.py +113 -0
  166. tooluniverse/tool_finder_embedding.py +267 -0
  167. tooluniverse/tool_finder_keyword.py +693 -0
  168. tooluniverse/tool_finder_llm.py +699 -0
  169. tooluniverse/tool_graph_web_ui.py +955 -0
  170. tooluniverse/tool_registry.py +416 -0
  171. tooluniverse/uniprot_tool.py +155 -0
  172. tooluniverse/url_tool.py +253 -0
  173. tooluniverse/uspto_tool.py +240 -0
  174. tooluniverse/utils.py +369 -41
  175. tooluniverse/xml_tool.py +369 -0
  176. tooluniverse-1.0.1.dist-info/METADATA +387 -0
  177. tooluniverse-1.0.1.dist-info/RECORD +182 -0
  178. tooluniverse-1.0.1.dist-info/entry_points.txt +9 -0
  179. tooluniverse/generate_mcp_tools.py +0 -113
  180. tooluniverse/mcp_server.py +0 -3340
  181. tooluniverse-0.2.0.dist-info/METADATA +0 -139
  182. tooluniverse-0.2.0.dist-info/RECORD +0 -21
  183. tooluniverse-0.2.0.dist-info/entry_points.txt +0 -4
  184. {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/WHEEL +0 -0
  185. {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/licenses/LICENSE +0 -0
  186. {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,491 @@
1
+ [
2
+ {
3
+ "type": "FDADrugAdverseEventTool",
4
+ "name": "FAERS_count_reactions_by_drug_event",
5
+ "description": "Count the number of adverse reactions reported for a given drug, filtered by patient details, event seriousness, and reaction outcomes. Data source: FDA Adverse Event Reporting System (FAERS).",
6
+ "parameter": {
7
+ "type": "object",
8
+ "properties": {
9
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
10
+ "patientsex": { "type": "string", "enum": ["Male", "Female"], "description": "Patient sex, leave it blank if you don't want to apply a filter." },
11
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"], "description": "Patient age group." },
12
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$", "description": "Country where event occurred." },
13
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Whether the event was serious." },
14
+ "seriousnessdeath": { "type": "string", "enum": ["Yes", "No"], "description": "Was death reported?" }
15
+ },
16
+ "required": ["medicinalproduct"]
17
+ },
18
+ "fields": {
19
+ "search_fields": {
20
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
21
+ "patientsex": ["patient.patientsex"],
22
+ "patientagegroup": ["patient.patientagegroup"],
23
+ "occurcountry": ["occurcountry"],
24
+ "serious": ["serious"],
25
+ "seriousnessdeath": ["seriousnessdeath"]
26
+ },
27
+ "return_fields": ["patient.reaction.reactionmeddrapt.exact"]
28
+ }
29
+ },
30
+ {
31
+ "type": "FDADrugAdverseEventTool",
32
+ "name": "FAERS_count_drugs_by_drug_event",
33
+ "description": "Count the number of different drugs involved in FDA adverse event reports, filtered by patient details, country, and seriousness. Data source: FDA Adverse Event Reporting System (FAERS).",
34
+ "parameter": {
35
+ "type": "object",
36
+ "properties": {
37
+ "patientsex": { "type": "string", "enum": ["Male", "Female"], "description": "Patient sex, leave it blank if you don't want to apply a filter." },
38
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"], "description": "Patient age group." },
39
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$", "description": "Country where event occurred." },
40
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Whether the event was serious." }
41
+ },
42
+ "required": []
43
+ },
44
+ "fields": {
45
+ "search_fields": {
46
+ "patientsex": ["patient.patientsex"],
47
+ "patientagegroup": ["patient.patientagegroup"],
48
+ "occurcountry": ["occurcountry"],
49
+ "serious": ["serious"]
50
+ },
51
+ "return_fields": ["patient.drug.medicinalproduct.exact"]
52
+ }
53
+ },
54
+ {
55
+ "type": "FDADrugAdverseEventTool",
56
+ "name": "FAERS_count_country_by_drug_event",
57
+ "description": "Count the number of adverse event reports per country of occurrence, filtered by drug, patient demographics, and seriousness. Data source: FDA Adverse Event Reporting System (FAERS).",
58
+ "parameter": {
59
+ "type": "object",
60
+ "properties": {
61
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
62
+ "patientsex": { "type": "string", "enum": ["Male", "Female"], "description": "Patient sex, leave it blank if you don't want to apply a filter." },
63
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"], "description": "Patient age group." },
64
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Whether the event was serious." }
65
+ },
66
+ "required": []
67
+ },
68
+ "fields": {
69
+ "search_fields": {
70
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
71
+ "patientsex": ["patient.patientsex"],
72
+ "patientagegroup": ["patient.patientagegroup"],
73
+ "serious": ["serious"]
74
+ },
75
+ "return_fields": ["occurcountry.exact"]
76
+ }
77
+ },
78
+ {
79
+ "type": "FDADrugAdverseEventTool",
80
+ "name": "FAERS_count_reportercountry_by_drug_event",
81
+ "description": "Count the number of FDA adverse event reports grouped by the country of the primary reporter. Data source: FDA Adverse Event Reporting System (FAERS).",
82
+ "parameter": {
83
+ "type": "object",
84
+ "properties": {
85
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
86
+ "patientsex": { "type": "string", "enum": ["Male", "Female"], "description": "Patient sex, leave it blank if you don't want to apply a filter." },
87
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"], "description": "Patient age group." },
88
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Whether the event was serious." }
89
+ },
90
+ "required": []
91
+ },
92
+ "fields": {
93
+ "search_fields": {
94
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
95
+ "patientsex": ["patient.patientsex"],
96
+ "patientagegroup": ["patient.patientagegroup"],
97
+ "serious": ["serious"]
98
+ },
99
+ "return_fields": ["primarysource.reportercountry.exact"]
100
+ }
101
+ },
102
+ {
103
+ "type": "FDADrugAdverseEventTool",
104
+ "name": "FAERS_count_seriousness_by_drug_event",
105
+ "description": "Count the number of adverse event reports classified as serious or non-serious, filtered by drug and patient demographics. In results, term Serious means: 'The adverse event resulted in death, a life threatening condition, hospitalization, disability, congenital anomaly, or other serious condition', term Non-serious means 'The adverse event did not result in any of the above' Data source: FDA Adverse Event Reporting System (FAERS).",
106
+ "parameter": {
107
+ "type": "object",
108
+ "properties": {
109
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
110
+ "patientsex": { "type": "string", "enum": ["Male", "Female"], "description": "Patient sex, leave it blank if you don't want to apply a filter." },
111
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"], "description": "Patient age group." },
112
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$", "description": "Country where event occurred." }
113
+ },
114
+ "required": []
115
+ },
116
+ "fields": {
117
+ "search_fields": {
118
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
119
+ "patientsex": ["patient.patientsex"],
120
+ "patientagegroup": ["patient.patientagegroup"],
121
+ "occurcountry": ["occurcountry"]
122
+ },
123
+ "return_fields": ["serious"],
124
+ "return_fields_mapping": {
125
+ "serious": {
126
+ "1": "Serious",
127
+ "2": "Non-serious"
128
+ }
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "type": "FDADrugAdverseEventTool",
134
+ "name": "FAERS_count_outcomes_by_drug_event",
135
+ "description": "Count the outcome of adverse reactions (recovered, recovering, fatal, unresolved) filtered by drug, seriousness, and demographics. Data source: FDA Adverse Event Reporting System (FAERS).",
136
+ "parameter": {
137
+ "type": "object",
138
+ "properties": {
139
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
140
+ "patientsex": { "type": "string", "enum": [ "Male", "Female"] },
141
+ "patientagegroup": { "type": "string", "enum": ["Neonate", "Infant", "Child", "Adolescent", "Adult", "Elderly"] },
142
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$" }
143
+ },
144
+ "required": ["medicinalproduct"]
145
+ },
146
+ "fields": {
147
+ "search_fields": {
148
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
149
+ "patientsex": ["patient.patientsex"],
150
+ "patientagegroup": ["patient.patientagegroup"],
151
+ "occurcountry": ["occurcountry"]
152
+ },
153
+ "return_fields": ["patient.reaction.reactionoutcome"],
154
+ "return_fields_mapping": {
155
+ "patient.reaction.reactionoutcome": {
156
+ "1": "Recovered/resolved",
157
+ "2": "Recovering/resolving",
158
+ "3": "Not recovered/not resolved",
159
+ "4": "Recovered/resolved with sequelae (consequent health issues)",
160
+ "5": "Fatal",
161
+ "6": "Unknown"
162
+ }
163
+ }
164
+ }
165
+ },
166
+ {
167
+ "type": "FDADrugAdverseEventTool",
168
+ "name": "FAERS_count_drug_routes_by_event",
169
+ "description": "Count the most common routes of administration for drugs involved in adverse event reports. Data source: FDA Adverse Event Reporting System (FAERS).",
170
+ "parameter": {
171
+ "type": "object",
172
+ "properties": {
173
+ "medicinalproduct": { "type": "string", "description": "Drug name." },
174
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Seriousness of event." }
175
+ },
176
+ "required": ["medicinalproduct"]
177
+ },
178
+ "fields": {
179
+ "search_fields": {
180
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
181
+ "serious": ["serious"]
182
+ },
183
+ "return_fields": ["patient.drug.drugadministrationroute.exact"],
184
+ "return_fields_mapping": {
185
+ "patient.drug.drugadministrationroute.exact": {
186
+ "001": "Auricular (otic)",
187
+ "002": "Buccal",
188
+ "003": "Cutaneous",
189
+ "004": "Dental",
190
+ "005": "Endocervical",
191
+ "006": "Endosinusial",
192
+ "007": "Endotracheal",
193
+ "008": "Epidural",
194
+ "009": "Extra-amniotic",
195
+ "010": "Hemodialysis",
196
+ "011": "Intra corpus cavernosum",
197
+ "012": "Intra-amniotic",
198
+ "013": "Intra-arterial",
199
+ "014": "Intra-articular",
200
+ "015": "Intra-uterine",
201
+ "016": "Intracardiac",
202
+ "017": "Intracavernous",
203
+ "018": "Intracerebral",
204
+ "019": "Intracervical",
205
+ "020": "Intracisternal",
206
+ "021": "Intracorneal",
207
+ "022": "Intracoronary",
208
+ "023": "Intradermal",
209
+ "024": "Intradiscal (intraspinal)",
210
+ "025": "Intrahepatic",
211
+ "026": "Intralesional",
212
+ "027": "Intralymphatic",
213
+ "028": "Intramedullar (bone marrow)",
214
+ "029": "Intrameningeal",
215
+ "030": "Intramuscular",
216
+ "031": "Intraocular",
217
+ "032": "Intrapericardial",
218
+ "033": "Intraperitoneal",
219
+ "034": "Intrapleural",
220
+ "035": "Intrasynovial",
221
+ "036": "Intratumor",
222
+ "037": "Intrathecal",
223
+ "038": "Intrathoracic",
224
+ "039": "Intratracheal",
225
+ "040": "Intravenous bolus",
226
+ "041": "Intravenous drip",
227
+ "042": "Intravenous (not otherwise specified)",
228
+ "043": "Intravesical",
229
+ "044": "Iontophoresis",
230
+ "045": "Nasal",
231
+ "046": "Occlusive dressing technique",
232
+ "047": "Ophthalmic",
233
+ "048": "Oral",
234
+ "049": "Oropharingeal",
235
+ "050": "Other",
236
+ "051": "Parenteral",
237
+ "052": "Periarticular",
238
+ "053": "Perineural",
239
+ "054": "Rectal",
240
+ "055": "Respiratory (inhalation)",
241
+ "056": "Retrobulbar",
242
+ "057": "Sunconjunctival",
243
+ "058": "Subcutaneous",
244
+ "059": "Subdermal",
245
+ "060": "Sublingual",
246
+ "061": "Topical",
247
+ "062": "Transdermal",
248
+ "063": "Transmammary",
249
+ "064": "Transplacental",
250
+ "065": "Unknown",
251
+ "066": "Urethral",
252
+ "067": "Vaginal"
253
+ }
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "type": "FDADrugAdverseEventTool",
259
+ "name": "FAERS_count_patient_age_distribution",
260
+ "description": "Analyze the age distribution of patients experiencing adverse events for a specific drug. The age groups are: Neonate (0-28 days), Infant (29 days - 23 months), Child (2-11 years), Adolescent (12-17 years), Adult (18-64 years), Elderly (65+ years). Data source: FDA Adverse Event Reporting System (FAERS).",
261
+ "parameter": {
262
+ "type": "object",
263
+ "properties": {
264
+ "medicinalproduct": { "type": "string", "description": "Drug name." }
265
+ },
266
+ "required": ["medicinalproduct"]
267
+ },
268
+ "fields": {
269
+ "search_fields": {
270
+ "medicinalproduct": ["patient.drug.medicinalproduct"]
271
+ },
272
+ "return_fields": ["patient.patientagegroup"],
273
+ "return_fields_mapping": {
274
+ "patient.patientagegroup": {
275
+ "1": "Neonate",
276
+ "2": "Infant",
277
+ "3": "Child",
278
+ "4": "Adolescent",
279
+ "5": "Adult",
280
+ "6": "Elderly"
281
+ }
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "type": "FDADrugAdverseEventTool",
287
+ "name": "FAERS_count_death_related_by_drug",
288
+ "description": "Count adverse events associated with patient death for a given drug. Data source: FDA Adverse Event Reporting System (FAERS).",
289
+ "parameter": {
290
+ "type": "object",
291
+ "properties": {
292
+ "medicinalproduct": { "type": "string", "description": "Drug name." }
293
+ },
294
+ "required": ["medicinalproduct"]
295
+ },
296
+ "fields": {
297
+ "search_fields": {
298
+ "medicinalproduct": ["patient.drug.medicinalproduct"],
299
+ "seriousnessdeath": ["seriousnessdeath"]
300
+ },
301
+ "return_fields": ["seriousnessdeath"],
302
+ "return_fields_mapping": {
303
+ "seriousnessdeath": {
304
+ "1": "death",
305
+ "2": "alive"
306
+ }
307
+ }
308
+ }
309
+ },
310
+ {
311
+ "type": "FDACountAdditiveReactionsTool",
312
+ "name": "FAERS_count_additive_adverse_reactions",
313
+ "description": "Additive multi-drug data: Aggregate adverse reaction counts across specified medicinal products, stratified by demographics, seriousness, and outcomes. Data source: FDA Adverse Event Reporting System (FAERS).",
314
+ "parameter": {
315
+ "type": "object",
316
+ "properties": {
317
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
318
+ "patientsex": { "type": "string", "enum": ["Male","Female"], "description": "Filter by patient sex." },
319
+ "patientagegroup": { "type": "string", "enum": ["Neonate","Infant","Child","Adolescent","Adult","Elderly"], "description": "Filter by patient age group." },
320
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$", "description": "Filter by ISO2 country code of occurrence." },
321
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Filter by seriousness classification." },
322
+ "seriousnessdeath": { "type": "string", "enum": ["Yes","No"], "description": "Filter for fatal outcomes." }
323
+ },
324
+ "required": ["medicinalproducts"]
325
+ },
326
+ "fields": {
327
+ "search_fields": {
328
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
329
+ "patientsex": ["patient.patientsex"],
330
+ "patientagegroup": ["patient.patientagegroup"],
331
+ "occurcountry": ["occurcountry"],
332
+ "serious": ["serious"],
333
+ "seriousnessdeath": ["seriousnessdeath"]
334
+ },
335
+ "return_fields": ["patient.reaction.reactionmeddrapt.exact"]
336
+ }
337
+ },
338
+ {
339
+ "type": "FDACountAdditiveReactionsTool",
340
+ "name": "FAERS_count_additive_event_reports_by_country",
341
+ "description": "Additive multi-drug data: Aggregate report counts by country of occurrence across specified medicinal products. Data source: FDA Adverse Event Reporting System (FAERS).",
342
+ "parameter": {
343
+ "type": "object",
344
+ "properties": {
345
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
346
+ "patientsex": { "type": "string", "enum": ["Male","Female"], "description": "Filter by sex." },
347
+ "patientagegroup": { "type": "string", "enum": ["Neonate","Infant","Child","Adolescent","Adult","Elderly"], "description": "Filter by age group." },
348
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Filter by seriousness." }
349
+ },
350
+ "required": ["medicinalproducts"]
351
+ },
352
+ "fields": {
353
+ "search_fields": {
354
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
355
+ "patientsex": ["patient.patientsex"],
356
+ "patientagegroup": ["patient.patientagegroup"],
357
+ "serious": ["serious"]
358
+ },
359
+ "return_fields": ["occurcountry.exact"]
360
+ }
361
+ },
362
+ {
363
+ "type": "FDACountAdditiveReactionsTool",
364
+ "name": "FAERS_count_additive_reports_by_reporter_country",
365
+ "description": "Additive multi-drug data: Aggregate adverse event reports by primary reporter country across medicinal products. Data source: FDA Adverse Event Reporting System (FAERS).",
366
+ "parameter": {
367
+ "type": "object",
368
+ "properties": {
369
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
370
+ "patientsex": { "type": "string", "enum": ["Male","Female"], "description": "Filter by sex." },
371
+ "patientagegroup": { "type": "string", "enum": ["Neonate","Infant","Child","Adolescent","Adult","Elderly"], "description": "Filter by age group." },
372
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Filter by seriousness." }
373
+ },
374
+ "required": ["medicinalproducts"]
375
+ },
376
+ "fields": {
377
+ "search_fields": {
378
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
379
+ "patientsex": ["patient.patientsex"],
380
+ "patientagegroup": ["patient.patientagegroup"],
381
+ "serious": ["serious"]
382
+ },
383
+ "return_fields": ["primarysource.reportercountry.exact"]
384
+ }
385
+ },
386
+ {
387
+ "type": "FDACountAdditiveReactionsTool",
388
+ "name": "FAERS_count_additive_seriousness_classification",
389
+ "description": "Additive multi-drug data: Quantify serious vs non-serious classifications across medicinal products, annotated per regulatory definitions. Data source: FDA Adverse Event Reporting System (FAERS).",
390
+ "parameter": {
391
+ "type": "object",
392
+ "properties": {
393
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
394
+ "patientsex": { "type": "string", "enum": ["Male","Female"], "description": "Filter by sex." },
395
+ "patientagegroup": { "type": "string", "enum": ["Neonate","Infant","Child","Adolescent","Adult","Elderly"], "description": "Filter by age group." },
396
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$", "description": "ISO2 country code filter." }
397
+ },
398
+ "required": ["medicinalproducts"]
399
+ },
400
+ "fields": {
401
+ "search_fields": {
402
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
403
+ "patientsex": ["patient.patientsex"],
404
+ "patientagegroup": ["patient.patientagegroup"],
405
+ "occurcountry": ["occurcountry"]
406
+ },
407
+ "return_fields": ["serious"],
408
+ "return_fields_mapping": { "serious": { "1": "Serious", "2": "Non-serious" } }
409
+ }
410
+ },
411
+ {
412
+ "type": "FDACountAdditiveReactionsTool",
413
+ "name": "FAERS_count_additive_reaction_outcomes",
414
+ "description": "Additive multi-drug data: Determine reaction outcome counts (e.g., recovered, resolving, fatal) across medicinal products using standardized outcome mappings. Data source: FDA Adverse Event Reporting System (FAERS).",
415
+ "parameter": {
416
+ "type": "object",
417
+ "properties": {
418
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
419
+ "patientsex": { "type": "string", "enum": ["Male","Female"] },
420
+ "patientagegroup": { "type": "string", "enum": ["Neonate","Infant","Child","Adolescent","Adult","Elderly"] },
421
+ "occurcountry": { "type": "string", "pattern": "^[A-Z]{2}$" }
422
+ },
423
+ "required": ["medicinalproducts"]
424
+ },
425
+ "fields": {
426
+ "search_fields": {
427
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
428
+ "patientsex": ["patient.patientsex"],
429
+ "patientagegroup": ["patient.patientagegroup"],
430
+ "occurcountry": ["occurcountry"]
431
+ },
432
+ "return_fields": ["patient.reaction.reactionoutcome"],
433
+ "return_fields_mapping": {
434
+ "patient.reaction.reactionoutcome": {
435
+ "1": "Recovered/resolved",
436
+ "2": "Recovering/resolving",
437
+ "3": "Not recovered/not resolved",
438
+ "4": "Recovered/resolved with sequelae",
439
+ "5": "Fatal",
440
+ "6": "Unknown"
441
+ }
442
+ }
443
+ }
444
+ },
445
+ {
446
+ "type": "FDACountAdditiveReactionsTool",
447
+ "name": "FAERS_count_additive_administration_routes",
448
+ "description": "Additive multi-drug data: Enumerate and count administration routes for adverse events across specified medicinal products, using standardized route codes. Data source: FDA Adverse Event Reporting System (FAERS).",
449
+ "parameter": {
450
+ "type": "object",
451
+ "properties": {
452
+ "medicinalproducts": { "type": "array", "items": { "type": "string" }, "description": "Array of medicinal product names." },
453
+ "serious": { "type": "string", "enum": ["Yes","No"], "description": "Filter by seriousness." }
454
+ },
455
+ "required": ["medicinalproducts"]
456
+ },
457
+ "fields": {
458
+ "search_fields": {
459
+ "medicinalproducts": ["patient.drug.medicinalproduct"],
460
+ "serious": ["serious"]
461
+ },
462
+ "return_fields": ["patient.drug.drugadministrationroute.exact"],
463
+ "return_fields_mapping": {
464
+ "patient.drug.drugadministrationroute.exact": {
465
+ "001": "Auricular (otic)", "002": "Buccal", "003": "Cutaneous", "004": "Dental",
466
+ "005": "Endocervical", "006": "Endosinusial", "007": "Endotracheal", "008": "Epidural",
467
+ "009": "Extra-amniotic", "010": "Hemodialysis", "011": "Intra corpus cavernosum",
468
+ "012": "Intra-amniotic", "013": "Intra-arterial", "014": "Intra-articular",
469
+ "015": "Intra-uterine", "016": "Intracardiac", "017": "Intracavernous",
470
+ "018": "Intracerebral", "019": "Intracervical", "020": "Intracisternal",
471
+ "021": "Intracorneal", "022": "Intracoronary", "023": "Intradermal",
472
+ "024": "Intradiscal (intraspinal)", "025": "Intrahepatic", "026": "Intralesional",
473
+ "027": "Intralymphatic", "028": "Intramedullar (bone marrow)", "029": "Intrameningeal",
474
+ "030": "Intramuscular", "031": "Intraocular", "032": "Intrapericardial",
475
+ "033": "Intraperitoneal", "034": "Intrapleural", "035": "Intrasynovial",
476
+ "036": "Intratumor", "037": "Intrathecal", "038": "Intrathoracic",
477
+ "039": "Intratracheal", "040": "Intravenous bolus", "041": "Intravenous drip",
478
+ "042": "Intravenous (not otherwise specified)", "043": "Intravesical",
479
+ "044": "Iontophoresis", "045": "Nasal", "046": "Occlusive dressing technique",
480
+ "047": "Ophthalmic", "048": "Oral", "049": "Oropharingeal", "050": "Other",
481
+ "051": "Parenteral", "052": "Periarticular", "053": "Perineural",
482
+ "054": "Rectal", "055": "Respiratory (inhalation)", "056": "Retrobulbar",
483
+ "057": "Sunconjunctival", "058": "Subcutaneous", "059": "Subdermal",
484
+ "060": "Sublingual", "061": "Topical", "062": "Transdermal",
485
+ "063": "Transmammary", "064": "Transplacental", "065": "Unknown",
486
+ "066": "Urethral", "067": "Vaginal"
487
+ }
488
+ }
489
+ }
490
+ }
491
+ ]
@@ -6902,4 +6902,4 @@
6902
6902
  "FDA"
6903
6903
  ]
6904
6904
  }
6905
- ]
6905
+ ]