tooluniverse 0.1.4__py3-none-any.whl → 1.0.0__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.
- tooluniverse/__init__.py +340 -4
- tooluniverse/admetai_tool.py +84 -0
- tooluniverse/agentic_tool.py +563 -0
- tooluniverse/alphafold_tool.py +96 -0
- tooluniverse/base_tool.py +129 -6
- tooluniverse/boltz_tool.py +207 -0
- tooluniverse/chem_tool.py +192 -0
- tooluniverse/compose_scripts/__init__.py +1 -0
- tooluniverse/compose_scripts/biomarker_discovery.py +293 -0
- tooluniverse/compose_scripts/comprehensive_drug_discovery.py +186 -0
- tooluniverse/compose_scripts/drug_safety_analyzer.py +89 -0
- tooluniverse/compose_scripts/literature_tool.py +34 -0
- tooluniverse/compose_scripts/output_summarizer.py +279 -0
- tooluniverse/compose_scripts/tool_description_optimizer.py +681 -0
- tooluniverse/compose_scripts/tool_discover.py +705 -0
- tooluniverse/compose_scripts/tool_graph_composer.py +448 -0
- tooluniverse/compose_tool.py +371 -0
- tooluniverse/ctg_tool.py +1002 -0
- tooluniverse/custom_tool.py +81 -0
- tooluniverse/dailymed_tool.py +108 -0
- tooluniverse/data/admetai_tools.json +155 -0
- tooluniverse/data/agentic_tools.json +1156 -0
- tooluniverse/data/alphafold_tools.json +87 -0
- tooluniverse/data/boltz_tools.json +9 -0
- tooluniverse/data/chembl_tools.json +16 -0
- tooluniverse/data/clait_tools.json +108 -0
- tooluniverse/data/clinicaltrials_gov_tools.json +326 -0
- tooluniverse/data/compose_tools.json +202 -0
- tooluniverse/data/dailymed_tools.json +70 -0
- tooluniverse/data/dataset_tools.json +646 -0
- tooluniverse/data/disease_target_score_tools.json +712 -0
- tooluniverse/data/efo_tools.json +17 -0
- tooluniverse/data/embedding_tools.json +319 -0
- tooluniverse/data/enrichr_tools.json +31 -0
- tooluniverse/data/europe_pmc_tools.json +22 -0
- tooluniverse/data/expert_feedback_tools.json +10 -0
- tooluniverse/data/fda_drug_adverse_event_tools.json +491 -0
- tooluniverse/data/fda_drug_labeling_tools.json +544 -168
- tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py +76929 -148860
- tooluniverse/data/finder_tools.json +209 -0
- tooluniverse/data/gene_ontology_tools.json +113 -0
- tooluniverse/data/gwas_tools.json +1082 -0
- tooluniverse/data/hpa_tools.json +333 -0
- tooluniverse/data/humanbase_tools.json +47 -0
- tooluniverse/data/idmap_tools.json +74 -0
- tooluniverse/data/mcp_client_tools_example.json +113 -0
- tooluniverse/data/mcpautoloadertool_defaults.json +28 -0
- tooluniverse/data/medlineplus_tools.json +141 -0
- tooluniverse/data/monarch_tools.json +1 -1
- tooluniverse/data/openalex_tools.json +36 -0
- tooluniverse/data/opentarget_tools.json +82 -58
- tooluniverse/data/output_summarization_tools.json +101 -0
- tooluniverse/data/packages/bioinformatics_core_tools.json +1756 -0
- tooluniverse/data/packages/categorized_tools.txt +206 -0
- tooluniverse/data/packages/cheminformatics_tools.json +347 -0
- tooluniverse/data/packages/earth_sciences_tools.json +74 -0
- tooluniverse/data/packages/genomics_tools.json +776 -0
- tooluniverse/data/packages/image_processing_tools.json +38 -0
- tooluniverse/data/packages/machine_learning_tools.json +789 -0
- tooluniverse/data/packages/neuroscience_tools.json +62 -0
- tooluniverse/data/packages/original_tools.txt +0 -0
- tooluniverse/data/packages/physics_astronomy_tools.json +62 -0
- tooluniverse/data/packages/scientific_computing_tools.json +560 -0
- tooluniverse/data/packages/single_cell_tools.json +453 -0
- tooluniverse/data/packages/software_tools.json +4954 -0
- tooluniverse/data/packages/structural_biology_tools.json +396 -0
- tooluniverse/data/packages/visualization_tools.json +399 -0
- tooluniverse/data/pubchem_tools.json +215 -0
- tooluniverse/data/pubtator_tools.json +68 -0
- tooluniverse/data/rcsb_pdb_tools.json +1332 -0
- tooluniverse/data/reactome_tools.json +19 -0
- tooluniverse/data/semantic_scholar_tools.json +26 -0
- tooluniverse/data/special_tools.json +2 -25
- tooluniverse/data/tool_composition_tools.json +88 -0
- tooluniverse/data/toolfinderkeyword_defaults.json +34 -0
- tooluniverse/data/txagent_client_tools.json +9 -0
- tooluniverse/data/uniprot_tools.json +211 -0
- tooluniverse/data/url_fetch_tools.json +94 -0
- tooluniverse/data/uspto_downloader_tools.json +9 -0
- tooluniverse/data/uspto_tools.json +811 -0
- tooluniverse/data/xml_tools.json +3275 -0
- tooluniverse/dataset_tool.py +296 -0
- tooluniverse/default_config.py +165 -0
- tooluniverse/efo_tool.py +42 -0
- tooluniverse/embedding_database.py +630 -0
- tooluniverse/embedding_sync.py +396 -0
- tooluniverse/enrichr_tool.py +266 -0
- tooluniverse/europe_pmc_tool.py +52 -0
- tooluniverse/execute_function.py +1775 -95
- tooluniverse/extended_hooks.py +444 -0
- tooluniverse/gene_ontology_tool.py +194 -0
- tooluniverse/graphql_tool.py +158 -36
- tooluniverse/gwas_tool.py +358 -0
- tooluniverse/hpa_tool.py +1645 -0
- tooluniverse/humanbase_tool.py +389 -0
- tooluniverse/logging_config.py +254 -0
- tooluniverse/mcp_client_tool.py +764 -0
- tooluniverse/mcp_integration.py +413 -0
- tooluniverse/mcp_tool_registry.py +925 -0
- tooluniverse/medlineplus_tool.py +337 -0
- tooluniverse/openalex_tool.py +228 -0
- tooluniverse/openfda_adv_tool.py +283 -0
- tooluniverse/openfda_tool.py +393 -160
- tooluniverse/output_hook.py +1122 -0
- tooluniverse/package_tool.py +195 -0
- tooluniverse/pubchem_tool.py +158 -0
- tooluniverse/pubtator_tool.py +168 -0
- tooluniverse/rcsb_pdb_tool.py +38 -0
- tooluniverse/reactome_tool.py +108 -0
- tooluniverse/remote/boltz/boltz_mcp_server.py +50 -0
- tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +442 -0
- tooluniverse/remote/expert_feedback/human_expert_mcp_tools.py +2013 -0
- tooluniverse/remote/expert_feedback/simple_test.py +23 -0
- tooluniverse/remote/expert_feedback/start_web_interface.py +188 -0
- tooluniverse/remote/expert_feedback/web_only_interface.py +0 -0
- tooluniverse/remote/expert_feedback_mcp/human_expert_mcp_server.py +1611 -0
- tooluniverse/remote/expert_feedback_mcp/simple_test.py +34 -0
- tooluniverse/remote/expert_feedback_mcp/start_web_interface.py +91 -0
- tooluniverse/remote/immune_compass/compass_tool.py +327 -0
- tooluniverse/remote/pinnacle/pinnacle_tool.py +328 -0
- tooluniverse/remote/transcriptformer/transcriptformer_tool.py +586 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +61 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_tool.py +120 -0
- tooluniverse/remote_tool.py +99 -0
- tooluniverse/restful_tool.py +53 -30
- tooluniverse/scripts/generate_tool_graph.py +408 -0
- tooluniverse/scripts/visualize_tool_graph.py +829 -0
- tooluniverse/semantic_scholar_tool.py +62 -0
- tooluniverse/smcp.py +2452 -0
- tooluniverse/smcp_server.py +975 -0
- tooluniverse/test/mcp_server_test.py +0 -0
- tooluniverse/test/test_admetai_tool.py +370 -0
- tooluniverse/test/test_agentic_tool.py +129 -0
- tooluniverse/test/test_alphafold_tool.py +71 -0
- tooluniverse/test/test_chem_tool.py +37 -0
- tooluniverse/test/test_compose_lieraturereview.py +63 -0
- tooluniverse/test/test_compose_tool.py +448 -0
- tooluniverse/test/test_dailymed.py +69 -0
- tooluniverse/test/test_dataset_tool.py +200 -0
- tooluniverse/test/test_disease_target_score.py +56 -0
- tooluniverse/test/test_drugbank_filter_examples.py +179 -0
- tooluniverse/test/test_efo.py +31 -0
- tooluniverse/test/test_enrichr_tool.py +21 -0
- tooluniverse/test/test_europe_pmc_tool.py +20 -0
- tooluniverse/test/test_fda_adv.py +95 -0
- tooluniverse/test/test_fda_drug_labeling.py +91 -0
- tooluniverse/test/test_gene_ontology_tools.py +66 -0
- tooluniverse/test/test_gwas_tool.py +139 -0
- tooluniverse/test/test_hpa.py +625 -0
- tooluniverse/test/test_humanbase_tool.py +20 -0
- tooluniverse/test/test_idmap_tools.py +61 -0
- tooluniverse/test/test_mcp_server.py +211 -0
- tooluniverse/test/test_mcp_tool.py +247 -0
- tooluniverse/test/test_medlineplus.py +220 -0
- tooluniverse/test/test_openalex_tool.py +32 -0
- tooluniverse/test/test_opentargets.py +28 -0
- tooluniverse/test/test_pubchem_tool.py +116 -0
- tooluniverse/test/test_pubtator_tool.py +37 -0
- tooluniverse/test/test_rcsb_pdb_tool.py +86 -0
- tooluniverse/test/test_reactome.py +54 -0
- tooluniverse/test/test_semantic_scholar_tool.py +24 -0
- tooluniverse/test/test_software_tools.py +147 -0
- tooluniverse/test/test_tool_description_optimizer.py +49 -0
- tooluniverse/test/test_tool_finder.py +26 -0
- tooluniverse/test/test_tool_finder_llm.py +252 -0
- tooluniverse/test/test_tools_find.py +195 -0
- tooluniverse/test/test_uniprot_tools.py +74 -0
- tooluniverse/test/test_uspto_tool.py +72 -0
- tooluniverse/test/test_xml_tool.py +113 -0
- tooluniverse/tool_finder_embedding.py +267 -0
- tooluniverse/tool_finder_keyword.py +693 -0
- tooluniverse/tool_finder_llm.py +699 -0
- tooluniverse/tool_graph_web_ui.py +955 -0
- tooluniverse/tool_registry.py +416 -0
- tooluniverse/uniprot_tool.py +155 -0
- tooluniverse/url_tool.py +253 -0
- tooluniverse/uspto_tool.py +240 -0
- tooluniverse/utils.py +369 -41
- tooluniverse/xml_tool.py +369 -0
- tooluniverse-1.0.0.dist-info/METADATA +377 -0
- tooluniverse-1.0.0.dist-info/RECORD +186 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/WHEEL +1 -1
- tooluniverse-1.0.0.dist-info/entry_points.txt +9 -0
- tooluniverse-0.1.4.dist-info/METADATA +0 -141
- tooluniverse-0.1.4.dist-info/RECORD +0 -18
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,646 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "DatasetTool",
|
|
4
|
+
"name": "drugbank_vocab_search",
|
|
5
|
+
"description": "Search the DrugBank vocabulary dataset for drugs by name, ID, synonyms, or other fields using text-based queries. Returns detailed drug information including DrugBank ID, common name, CAS number, UNII, and synonyms.",
|
|
6
|
+
"hf_dataset_path": {
|
|
7
|
+
"repo_id": "agenticx/DrugbankVocabulary",
|
|
8
|
+
"path_in_repo": "drugbank_vocabulary.csv",
|
|
9
|
+
"token": null,
|
|
10
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
11
|
+
},
|
|
12
|
+
"parameter": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"query": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Search query string. Can be drug name, synonym, DrugBank ID, or any text to search for.",
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"required": true
|
|
20
|
+
},
|
|
21
|
+
"search_fields": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {"type": "string"},
|
|
24
|
+
"description": "Fields to search in. Available fields: 'DrugBank ID', 'Accession Numbers', 'Common name', 'CAS', 'UNII', 'Synonyms', 'Standard InChI Key'."
|
|
25
|
+
},
|
|
26
|
+
"case_sensitive": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Whether the search should be case sensitive."
|
|
29
|
+
},
|
|
30
|
+
"exact_match": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Whether to perform exact matching instead of substring matching."
|
|
33
|
+
},
|
|
34
|
+
"limit": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"description": "Maximum number of results to return.",
|
|
37
|
+
"minimum": 1,
|
|
38
|
+
"maximum": 1000
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"query_schema": {
|
|
43
|
+
"search_fields": ["Common name", "Synonyms", "DrugBank ID"],
|
|
44
|
+
"case_sensitive": false,
|
|
45
|
+
"exact_match": false,
|
|
46
|
+
"limit": 10
|
|
47
|
+
},
|
|
48
|
+
"return_schema": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"description": "Search results with matched drug records and search metadata",
|
|
51
|
+
"properties": {
|
|
52
|
+
"query": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "The original search query string"
|
|
55
|
+
},
|
|
56
|
+
"total_results": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"description": "Total number of matching results found"
|
|
59
|
+
},
|
|
60
|
+
"results": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"description": "Array of matching drug records",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"properties": {
|
|
66
|
+
"DrugBank ID": {"type": "string", "description": "Drug identifier (e.g., 'DB00945')"},
|
|
67
|
+
"Accession Numbers": {"type": "string", "description": "Alternative drug identifiers"},
|
|
68
|
+
"Common name": {"type": "string", "description": "Drug common name (e.g., 'Acetylsalicylic acid')"},
|
|
69
|
+
"CAS": {"type": "string", "description": "Chemical Abstracts Service number"},
|
|
70
|
+
"UNII": {"type": "string", "description": "Unique Ingredient Identifier"},
|
|
71
|
+
"Synonyms": {"type": "string", "description": "Alternative drug names and synonyms"},
|
|
72
|
+
"Standard InChI Key": {"type": "string", "description": "International Chemical Identifier key"},
|
|
73
|
+
"matched_fields": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {"type": "string"},
|
|
76
|
+
"description": "Fields that matched the search query (e.g., ['Synonyms', 'Common name'])"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"search_parameters": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"description": "Parameters used for the search",
|
|
84
|
+
"properties": {
|
|
85
|
+
"search_fields": {"type": "array", "items": {"type": "string"}},
|
|
86
|
+
"case_sensitive": {"type": "boolean"},
|
|
87
|
+
"exact_match": {"type": "boolean"},
|
|
88
|
+
"limit": {"type": "integer"}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "DatasetTool",
|
|
96
|
+
"name": "drugbank_vocab_filter",
|
|
97
|
+
"description": "Filter the DrugBank vocabulary dataset based on specific field criteria. Use simple field-value pairs to filter drugs by properties like names, IDs, and chemical identifiers.",
|
|
98
|
+
"hf_dataset_path": {
|
|
99
|
+
"repo_id": "agenticx/DrugbankVocabulary",
|
|
100
|
+
"path_in_repo": "drugbank_vocabulary.csv",
|
|
101
|
+
"token": null,
|
|
102
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
103
|
+
},
|
|
104
|
+
"parameter": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"field": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "The field to filter on",
|
|
110
|
+
"enum": [
|
|
111
|
+
"DrugBank ID",
|
|
112
|
+
"Accession Numbers",
|
|
113
|
+
"Common name",
|
|
114
|
+
"CAS",
|
|
115
|
+
"UNII",
|
|
116
|
+
"Synonyms",
|
|
117
|
+
"Standard InChI Key"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
"condition": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "The type of filtering condition to apply. Filter is case-insensitive.",
|
|
123
|
+
"enum": [
|
|
124
|
+
"contains",
|
|
125
|
+
"starts_with",
|
|
126
|
+
"ends_with",
|
|
127
|
+
"exact",
|
|
128
|
+
"not_empty"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"value": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "The value to filter by. Not required when condition is 'not_empty'. Examples: 'insulin' (for contains), 'DB00' (for starts_with), 'acid' (for ends_with), 'Aspirin' (for exact)",
|
|
134
|
+
"required": false
|
|
135
|
+
},
|
|
136
|
+
"limit": {
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"description": "Maximum number of results to return.",
|
|
139
|
+
"minimum": 1,
|
|
140
|
+
"maximum": 1000
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"query_schema": {
|
|
145
|
+
"field": "Common name",
|
|
146
|
+
"condition": "contains",
|
|
147
|
+
"limit": 10
|
|
148
|
+
},
|
|
149
|
+
"return_schema": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"description": "Filter results with matched drug records and filter metadata",
|
|
152
|
+
"properties": {
|
|
153
|
+
"total_matches": {
|
|
154
|
+
"type": "integer",
|
|
155
|
+
"description": "Total number of records matching the filter criteria"
|
|
156
|
+
},
|
|
157
|
+
"returned_results": {
|
|
158
|
+
"type": "integer",
|
|
159
|
+
"description": "Number of results actually returned (limited by 'limit' parameter)"
|
|
160
|
+
},
|
|
161
|
+
"results": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"description": "Array of filtered drug records",
|
|
164
|
+
"items": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"properties": {
|
|
167
|
+
"DrugBank ID": {"type": "string", "description": "Drug identifier (e.g., 'DB00001')"},
|
|
168
|
+
"Accession Numbers": {"type": "string", "description": "Alternative drug identifiers"},
|
|
169
|
+
"Common name": {"type": "string", "description": "Drug common name (e.g., 'Lepirudin')"},
|
|
170
|
+
"CAS": {"type": "string", "description": "Chemical Abstracts Service number"},
|
|
171
|
+
"UNII": {"type": "string", "description": "Unique Ingredient Identifier"},
|
|
172
|
+
"Synonyms": {"type": "string", "description": "Alternative drug names and synonyms"},
|
|
173
|
+
"Standard InChI Key": {"type": "string", "description": "International Chemical Identifier key"}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"applied_filter": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "Human-readable description of the applied filter (e.g., 'Common name contains insulin')"
|
|
180
|
+
},
|
|
181
|
+
"filter_parameters": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"description": "Parameters used for filtering",
|
|
184
|
+
"properties": {
|
|
185
|
+
"field": {"type": "string"},
|
|
186
|
+
"condition": {"type": "string"},
|
|
187
|
+
"value": {"type": ["string", "null"]},
|
|
188
|
+
"limit": {"type": "integer"}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "DatasetTool",
|
|
196
|
+
"name": "drugbank_full_search",
|
|
197
|
+
"description": "Search the cleaned DrugBank dataframe (one row per drug) by ID, common name, or synonym. Returns identifiers, ATC, main pharmacology text fields, and protein partners. For best results, it is recommended that one uses `drugbank_vocab_search` to obtain DrugBank ID from other keywords first, and use this tool with DrugBank ID.",
|
|
198
|
+
"hf_dataset_path": {
|
|
199
|
+
"repo_id": "agenticx/DrugbankRawParquet",
|
|
200
|
+
"path_in_repo": "drugbank_raw.parquet",
|
|
201
|
+
"token": null,
|
|
202
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
203
|
+
},
|
|
204
|
+
"parameter": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {
|
|
207
|
+
"query": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Free-text query (e.g. 'DB00945', 'acetylsalicylic', 'Acarbosa').",
|
|
210
|
+
"required": true
|
|
211
|
+
},
|
|
212
|
+
"search_fields": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": { "type": "string" },
|
|
215
|
+
"description": "Columns to search in. Choose from: 'drugbank_id', 'name', 'synonyms'."
|
|
216
|
+
},
|
|
217
|
+
"case_sensitive": {
|
|
218
|
+
"type": "boolean",
|
|
219
|
+
"description": "Match text with exact case if true."
|
|
220
|
+
},
|
|
221
|
+
"exact_match": {
|
|
222
|
+
"type": "boolean",
|
|
223
|
+
"description": "Field value must equal query exactly if true; otherwise substring match."
|
|
224
|
+
},
|
|
225
|
+
"limit": {
|
|
226
|
+
"type": "integer",
|
|
227
|
+
"description": "Max number of rows to return.",
|
|
228
|
+
"minimum": 1,
|
|
229
|
+
"maximum": 1000
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"query_schema": {
|
|
234
|
+
"search_fields": ["name", "synonyms", "drugbank_id"],
|
|
235
|
+
"case_sensitive": false,
|
|
236
|
+
"exact_match": false,
|
|
237
|
+
"limit": 10
|
|
238
|
+
},
|
|
239
|
+
"return_schema": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"description": "Search results plus metadata.",
|
|
242
|
+
"properties": {
|
|
243
|
+
"query": { "type": "string" },
|
|
244
|
+
"total_results": { "type": "integer" },
|
|
245
|
+
|
|
246
|
+
"results": {
|
|
247
|
+
"type": "array",
|
|
248
|
+
"description": "Each element is one DrugBank hit with core info only.",
|
|
249
|
+
"items": {
|
|
250
|
+
"type": "object",
|
|
251
|
+
"properties": {
|
|
252
|
+
"drugbank_id": { "type": "string" },
|
|
253
|
+
"name": { "type": "string" },
|
|
254
|
+
|
|
255
|
+
"groups": { "type": "array", "items": { "type": "string" } },
|
|
256
|
+
"atc_codes": { "type": "array", "items": { "type": "string" } },
|
|
257
|
+
|
|
258
|
+
"indication": { "type": ["string","null"] },
|
|
259
|
+
"pharmacodynamics": { "type": ["string","null"] },
|
|
260
|
+
"moa": { "type": ["string","null"] },
|
|
261
|
+
"absorption": { "type": ["string","null"] },
|
|
262
|
+
"metabolism": { "type": ["string","null"] },
|
|
263
|
+
"toxicity": { "type": ["string","null"] },
|
|
264
|
+
"half_life": { "type": ["string","null"] },
|
|
265
|
+
|
|
266
|
+
"targets": { "type": "array", "items": { "type": "string" } },
|
|
267
|
+
"enzymes": { "type": "array", "items": { "type": "string" } },
|
|
268
|
+
"carriers": { "type": "array", "items": { "type": "string" } },
|
|
269
|
+
"transporters": { "type": "array", "items": { "type": "string" } },
|
|
270
|
+
|
|
271
|
+
"matched_fields": {
|
|
272
|
+
"type": "array",
|
|
273
|
+
"items": { "type": "string" },
|
|
274
|
+
"description": "Subset of search_fields that contained the match."
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"search_parameters": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"properties": {
|
|
282
|
+
"search_fields": { "type": "array", "items": { "type": "string" } },
|
|
283
|
+
"case_sensitive":{ "type": "boolean" },
|
|
284
|
+
"exact_match": { "type": "boolean" },
|
|
285
|
+
"limit": { "type": "integer" }
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "DatasetTool",
|
|
293
|
+
"name": "drugbank_links_search",
|
|
294
|
+
"description": "Search the cross-reference table linking DrugBank IDs to external identifiers (CAS, KEGG, PubChem, ChEBI, PharmGKB, UniProt, etc.) and web resources.",
|
|
295
|
+
"hf_dataset_path": {
|
|
296
|
+
"repo_id": "agenticx/DrugLinks",
|
|
297
|
+
"path_in_repo": "drug_links.csv",
|
|
298
|
+
"token": null,
|
|
299
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
300
|
+
},
|
|
301
|
+
"parameter": {
|
|
302
|
+
"type": "object",
|
|
303
|
+
"properties": {
|
|
304
|
+
"query": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "Free-text query (e.g. 'DB00002', 'Cetuximab').",
|
|
307
|
+
"required": true
|
|
308
|
+
},
|
|
309
|
+
"search_fields": {
|
|
310
|
+
"type": "array",
|
|
311
|
+
"items": { "type": "string" },
|
|
312
|
+
"description": "Columns to search. Choose from: 'DrugBank ID', 'Name', 'CAS Number', 'Drug Type', 'KEGG Compound ID', 'KEGG Drug ID', 'PubChem Compound ID', 'PubChem Substance ID', 'ChEBI ID', 'PharmGKB ID', 'HET ID', 'UniProt ID', 'Wikipedia ID', 'Drugs.com Link', 'NDC ID', 'ChemSpider ID', 'BindingDB ID', 'TTD ID'."
|
|
313
|
+
},
|
|
314
|
+
"case_sensitive": {
|
|
315
|
+
"type": "boolean",
|
|
316
|
+
"description": "Match text with exact case if true."
|
|
317
|
+
},
|
|
318
|
+
"exact_match": {
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"description": "Field value must equal query exactly if true; otherwise substring match."
|
|
321
|
+
},
|
|
322
|
+
"limit": {
|
|
323
|
+
"type": "integer",
|
|
324
|
+
"description": "Maximum number of rows to return.",
|
|
325
|
+
"minimum": 1,
|
|
326
|
+
"maximum": 1000
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"query_schema": {
|
|
331
|
+
"search_fields": ["DrugBank ID", "Name"],
|
|
332
|
+
"case_sensitive": false,
|
|
333
|
+
"exact_match": false,
|
|
334
|
+
"limit": 10
|
|
335
|
+
},
|
|
336
|
+
"return_schema": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"description": "Search results plus metadata.",
|
|
339
|
+
"properties": {
|
|
340
|
+
"query": { "type": "string" },
|
|
341
|
+
"total_results": { "type": "integer" },
|
|
342
|
+
|
|
343
|
+
"results": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "object",
|
|
347
|
+
"properties": {
|
|
348
|
+
"DrugBank ID": { "type": "string" },
|
|
349
|
+
"Name": { "type": "string" },
|
|
350
|
+
"CAS Number": { "type": ["string","null"] },
|
|
351
|
+
"Drug Type": { "type": ["string","null"] },
|
|
352
|
+
"KEGG Compound ID": { "type": ["string","null"] },
|
|
353
|
+
"KEGG Drug ID": { "type": ["string","null"] },
|
|
354
|
+
"PubChem Compound ID": { "type": ["string","null"] },
|
|
355
|
+
"PubChem Substance ID": { "type": ["string","null"] },
|
|
356
|
+
"ChEBI ID": { "type": ["string","null"] },
|
|
357
|
+
"PharmGKB ID": { "type": ["string","null"] },
|
|
358
|
+
"HET ID": { "type": ["string","null"] },
|
|
359
|
+
"UniProt ID": { "type": ["string","null"] },
|
|
360
|
+
"UniProt Title": { "type": ["string","null"] },
|
|
361
|
+
"GenBank ID": { "type": ["string","null"] },
|
|
362
|
+
"DPD ID": { "type": ["string","null"] },
|
|
363
|
+
"RxList Link": { "type": ["string","null"] },
|
|
364
|
+
"Pdrhealth Link": { "type": ["string","null"] },
|
|
365
|
+
"Wikipedia ID": { "type": ["string","null"] },
|
|
366
|
+
"Drugs.com Link": { "type": ["string","null"] },
|
|
367
|
+
"NDC ID": { "type": ["string","null"] },
|
|
368
|
+
"ChemSpider ID": { "type": ["string","null"] },
|
|
369
|
+
"BindingDB ID": { "type": ["string","null"] },
|
|
370
|
+
"TTD ID": { "type": ["string","null"] },
|
|
371
|
+
|
|
372
|
+
"matched_fields": {
|
|
373
|
+
"type": "array",
|
|
374
|
+
"description": "Subset of search_fields that contained the match.",
|
|
375
|
+
"items": { "type": "string" }
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
|
|
381
|
+
"search_parameters": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": {
|
|
384
|
+
"search_fields": { "type": "array", "items": { "type": "string" } },
|
|
385
|
+
"case_sensitive": { "type": "boolean" },
|
|
386
|
+
"exact_match": { "type": "boolean" },
|
|
387
|
+
"limit": { "type": "integer" }
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"type": "DatasetTool",
|
|
395
|
+
"name": "dict_search",
|
|
396
|
+
"description": "Search the DICTrank dataset for drug-induced cardiotoxicity (DICT) risk information by trade name, generic name, or active ingredient. Searching with exact match is not recommeded.",
|
|
397
|
+
"hf_dataset_path": {
|
|
398
|
+
"repo_id": "agenticx/DICTrank",
|
|
399
|
+
"path_in_repo": "DICTrank.csv",
|
|
400
|
+
"token": null,
|
|
401
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
402
|
+
},
|
|
403
|
+
"parameter": {
|
|
404
|
+
"type": "object",
|
|
405
|
+
"properties": {
|
|
406
|
+
"query": {
|
|
407
|
+
"type": "string",
|
|
408
|
+
"description": "Free-text query (e.g. 'ZYPREXA', 'Olanzapine').",
|
|
409
|
+
"required": true
|
|
410
|
+
},
|
|
411
|
+
"search_fields": {
|
|
412
|
+
"type": "array",
|
|
413
|
+
"items": { "type": "string" },
|
|
414
|
+
"description": "Columns to search. Choose from: 'Trade Name', 'Generic/Proper Name(s)', 'Active Ingredient(s)'."
|
|
415
|
+
},
|
|
416
|
+
"case_sensitive": {
|
|
417
|
+
"type": "boolean",
|
|
418
|
+
"description": "Match text with exact case if true."
|
|
419
|
+
},
|
|
420
|
+
"exact_match": {
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"description": "Field value must equal query exactly if true; otherwise substring match."
|
|
423
|
+
},
|
|
424
|
+
"limit": {
|
|
425
|
+
"type": "integer",
|
|
426
|
+
"description": "Maximum number of rows to return.",
|
|
427
|
+
"minimum": 1,
|
|
428
|
+
"maximum": 1000
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"query_schema": {
|
|
433
|
+
"search_fields": ["Trade Name", "Generic/Proper Name(s)", "Active Ingredient(s)"],
|
|
434
|
+
"case_sensitive": false,
|
|
435
|
+
"exact_match": false,
|
|
436
|
+
"limit": 10
|
|
437
|
+
},
|
|
438
|
+
"return_schema": {
|
|
439
|
+
"type": "object",
|
|
440
|
+
"description": "Search results plus metadata.",
|
|
441
|
+
"properties": {
|
|
442
|
+
"query": { "type": "string" },
|
|
443
|
+
"total_results": { "type": "integer" },
|
|
444
|
+
|
|
445
|
+
"results": {
|
|
446
|
+
"type": "array",
|
|
447
|
+
"items": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"Trade Name": { "type": "string" },
|
|
451
|
+
"Generic/Proper Name(s)": { "type": "string" },
|
|
452
|
+
"Active Ingredient(s)": { "type": "string" },
|
|
453
|
+
"Cardiotoxicity": { "type": ["string","null"] },
|
|
454
|
+
"DICT Concern": { "type": ["string","null"] },
|
|
455
|
+
"Keywords": { "type": ["string","null"] },
|
|
456
|
+
"DIC Severity Level": { "type": ["string","null"] },
|
|
457
|
+
|
|
458
|
+
"matched_fields": {
|
|
459
|
+
"type": "array",
|
|
460
|
+
"description": "Subset of search_fields that contained the match.",
|
|
461
|
+
"items": { "type": "string" }
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
|
|
467
|
+
"search_parameters": {
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"search_fields": { "type": "array", "items": { "type": "string" } },
|
|
471
|
+
"case_sensitive": { "type": "boolean" },
|
|
472
|
+
"exact_match": { "type": "boolean" },
|
|
473
|
+
"limit": { "type": "integer" }
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"type": "DatasetTool",
|
|
481
|
+
"name": "dili_search",
|
|
482
|
+
"description": "Search the DILIrank dataset for drug-induced liver-injury (DILI) risk information by compound name. Searching with exact match is not recommeded.",
|
|
483
|
+
"hf_dataset_path": {
|
|
484
|
+
"repo_id": "agenticx/DILIrank",
|
|
485
|
+
"path_in_repo": "DILIrank.csv",
|
|
486
|
+
"token": null,
|
|
487
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
488
|
+
},
|
|
489
|
+
"parameter": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"properties": {
|
|
492
|
+
"query": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "Free-text query (e.g. 'acetaminophen').",
|
|
495
|
+
"required": true
|
|
496
|
+
},
|
|
497
|
+
"search_fields": {
|
|
498
|
+
"type": "array",
|
|
499
|
+
"items": { "type": "string" },
|
|
500
|
+
"description": "Columns to search. Choose from: 'Compound Name'."
|
|
501
|
+
},
|
|
502
|
+
"case_sensitive": {
|
|
503
|
+
"type": "boolean",
|
|
504
|
+
"description": "Match text with exact case if true."
|
|
505
|
+
},
|
|
506
|
+
"exact_match": {
|
|
507
|
+
"type": "boolean",
|
|
508
|
+
"description": "Field value must equal query exactly if true; otherwise substring match."
|
|
509
|
+
},
|
|
510
|
+
"limit": {
|
|
511
|
+
"type": "integer",
|
|
512
|
+
"description": "Maximum number of rows to return.",
|
|
513
|
+
"minimum": 1,
|
|
514
|
+
"maximum": 1000
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"query_schema": {
|
|
519
|
+
"search_fields": ["Compound Name"],
|
|
520
|
+
"case_sensitive": false,
|
|
521
|
+
"exact_match": false,
|
|
522
|
+
"limit": 10
|
|
523
|
+
},
|
|
524
|
+
"return_schema": {
|
|
525
|
+
"type": "object",
|
|
526
|
+
"description": "Search results plus metadata.",
|
|
527
|
+
"properties": {
|
|
528
|
+
"query": { "type": "string" },
|
|
529
|
+
"total_results": { "type": "integer" },
|
|
530
|
+
|
|
531
|
+
"results": {
|
|
532
|
+
"type": "array",
|
|
533
|
+
"items": {
|
|
534
|
+
"type": "object",
|
|
535
|
+
"properties": {
|
|
536
|
+
"Compound Name": { "type": "string" },
|
|
537
|
+
"Severity Class": { "type": ["integer","null"] },
|
|
538
|
+
"DILI Concern": { "type": ["string","null"] },
|
|
539
|
+
|
|
540
|
+
"matched_fields": {
|
|
541
|
+
"type": "array",
|
|
542
|
+
"description": "Subset of search_fields that contained the match.",
|
|
543
|
+
"items": { "type": "string" }
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
|
|
549
|
+
"search_parameters": {
|
|
550
|
+
"type": "object",
|
|
551
|
+
"properties": {
|
|
552
|
+
"search_fields": { "type": "array", "items": { "type": "string" } },
|
|
553
|
+
"case_sensitive": { "type": "boolean" },
|
|
554
|
+
"exact_match": { "type": "boolean" },
|
|
555
|
+
"limit": { "type": "integer" }
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "DatasetTool",
|
|
563
|
+
"name": "diqt_search",
|
|
564
|
+
"description": "Search the DIQTA dataset for drug-induced QT-interval prolongation risk information by generic name or DrugBank ID. Searching with exact match is not recommeded for generic name.",
|
|
565
|
+
"hf_dataset_path": {
|
|
566
|
+
"repo_id": "agenticx/DIQTA",
|
|
567
|
+
"path_in_repo": "DIQTA.csv",
|
|
568
|
+
"token": null,
|
|
569
|
+
"save_to_local_dir": "src/tooluniverse/test"
|
|
570
|
+
},
|
|
571
|
+
"parameter": {
|
|
572
|
+
"type": "object",
|
|
573
|
+
"properties": {
|
|
574
|
+
"query": {
|
|
575
|
+
"type": "string",
|
|
576
|
+
"description": "Free-text query (e.g. 'Astemizole', 'DB00637').",
|
|
577
|
+
"required": true
|
|
578
|
+
},
|
|
579
|
+
"search_fields": {
|
|
580
|
+
"type": "array",
|
|
581
|
+
"items": { "type": "string" },
|
|
582
|
+
"description": "Columns to search. Choose from: 'Generic/Proper Name(s)', 'DrugBank ID'."
|
|
583
|
+
},
|
|
584
|
+
"case_sensitive": {
|
|
585
|
+
"type": "boolean",
|
|
586
|
+
"description": "Match text with exact case if true."
|
|
587
|
+
},
|
|
588
|
+
"exact_match": {
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"description": "Field value must equal query exactly if true; otherwise substring match."
|
|
591
|
+
},
|
|
592
|
+
"limit": {
|
|
593
|
+
"type": "integer",
|
|
594
|
+
"description": "Maximum number of rows to return.",
|
|
595
|
+
"minimum": 1,
|
|
596
|
+
"maximum": 1000
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"query_schema": {
|
|
601
|
+
"search_fields": ["Generic/Proper Name(s)", "DrugBank ID"],
|
|
602
|
+
"case_sensitive": false,
|
|
603
|
+
"exact_match": false,
|
|
604
|
+
"limit": 100
|
|
605
|
+
},
|
|
606
|
+
"return_schema": {
|
|
607
|
+
"type": "object",
|
|
608
|
+
"description": "Search results plus metadata.",
|
|
609
|
+
"properties": {
|
|
610
|
+
"query": { "type": "string" },
|
|
611
|
+
"total_results": { "type": "integer" },
|
|
612
|
+
|
|
613
|
+
"results": {
|
|
614
|
+
"type": "array",
|
|
615
|
+
"items": {
|
|
616
|
+
"type": "object",
|
|
617
|
+
"properties": {
|
|
618
|
+
"Generic/Proper Name(s)": { "type": "string" },
|
|
619
|
+
"Type": { "type": ["string","null"] },
|
|
620
|
+
"DrugBank ID": { "type": ["string","null"] },
|
|
621
|
+
"DIQT Concern": { "type": ["string","null"] },
|
|
622
|
+
"Severity Score": { "type": ["number","null"] },
|
|
623
|
+
|
|
624
|
+
"matched_fields": {
|
|
625
|
+
"type": "array",
|
|
626
|
+
"description": "Subset of search_fields that contained the match.",
|
|
627
|
+
"items": { "type": "string" }
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
|
|
633
|
+
"search_parameters": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"properties": {
|
|
636
|
+
"search_fields": { "type": "array", "items": { "type": "string" } },
|
|
637
|
+
"case_sensitive": { "type": "boolean" },
|
|
638
|
+
"exact_match": { "type": "boolean" },
|
|
639
|
+
"limit": { "type": "integer" }
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
]
|