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.
- 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/adverse_event_tools.json +108 -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/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 +1 -1
- 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 +1 -1
- 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/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/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.1.dist-info/METADATA +387 -0
- tooluniverse-1.0.1.dist-info/RECORD +182 -0
- tooluniverse-1.0.1.dist-info/entry_points.txt +9 -0
- tooluniverse/generate_mcp_tools.py +0 -113
- tooluniverse/mcp_server.py +0 -3340
- tooluniverse-0.2.0.dist-info/METADATA +0 -139
- tooluniverse-0.2.0.dist-info/RECORD +0 -21
- tooluniverse-0.2.0.dist-info/entry_points.txt +0 -4
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/WHEEL +0 -0
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "alphafold_get_prediction_by_uniprot_id",
|
|
4
|
+
"description": "Retrieve AlphaFold-predicted 3D protein structure metadata and download links for a given UniProt accession ID.",
|
|
5
|
+
"type": "AlphaFoldRESTTool",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"uniprot_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "UniProt accession ID (e.g., 'P69905' for hemoglobin alpha)."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["uniprot_id"]
|
|
15
|
+
},
|
|
16
|
+
"fields": {
|
|
17
|
+
"endpoint": "/prediction/{uniprot_id}",
|
|
18
|
+
"return_format": "JSON"
|
|
19
|
+
},
|
|
20
|
+
"return_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "AlphaFold predicted protein structure metadata.",
|
|
23
|
+
"properties": {
|
|
24
|
+
"uniprotAccession": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "UniProt accession ID"
|
|
27
|
+
},
|
|
28
|
+
"uniprotDescription": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Protein description"
|
|
31
|
+
},
|
|
32
|
+
"organismScientificName": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Scientific name of the source organism"
|
|
35
|
+
},
|
|
36
|
+
"gene": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Gene name if available"
|
|
39
|
+
},
|
|
40
|
+
"modelCreatedDate": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Date this AlphaFold model was created"
|
|
43
|
+
},
|
|
44
|
+
"globalMetricValue": {
|
|
45
|
+
"type": "number",
|
|
46
|
+
"description": "Global pLDDT confidence score"
|
|
47
|
+
},
|
|
48
|
+
"fractionPlddtVeryLow": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"description": "Fraction of residues with very low pLDDT (<50)"
|
|
51
|
+
},
|
|
52
|
+
"fractionPlddtLow": {
|
|
53
|
+
"type": "number",
|
|
54
|
+
"description": "Fraction of residues with low pLDDT (50–70)"
|
|
55
|
+
},
|
|
56
|
+
"fractionPlddtConfident": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"description": "Fraction of residues with confident pLDDT (70–90)"
|
|
59
|
+
},
|
|
60
|
+
"fractionPlddtVeryHigh": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"description": "Fraction of residues with very high pLDDT (>90)"
|
|
63
|
+
},
|
|
64
|
+
"pdbUrl": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Download link for PDB file"
|
|
67
|
+
},
|
|
68
|
+
"cifUrl": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Download link for CIF file"
|
|
71
|
+
},
|
|
72
|
+
"bcifUrl": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Download link for BCIF file"
|
|
75
|
+
},
|
|
76
|
+
"paeImageUrl": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Predicted aligned error plot image URL"
|
|
79
|
+
},
|
|
80
|
+
"paeDocUrl": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Predicted aligned error JSON URL"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "mcp_auto_loader_boltz",
|
|
4
|
+
"description": "Run Boltz2 docking and affinity prediction using MCP protocol",
|
|
5
|
+
"type": "MCPAutoLoaderTool",
|
|
6
|
+
"server_url": "http://${BOLTZ_MCP_SERVER_HOST}:8080/mcp",
|
|
7
|
+
"required_api_keys": ["BOLTZ_MCP_SERVER_HOST"]
|
|
8
|
+
}
|
|
9
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "ChEMBLTool",
|
|
4
|
+
"name": "ChEMBL_search_similar_molecules",
|
|
5
|
+
"description": "Search for molecules similar to a given SMILES, chembl_id, or compound or drug name, using the ChEMBL Web Services.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"query": { "type": "string", "description": "SMILES string, chembl_id, or compound or drug name." },
|
|
10
|
+
"similarity_threshold": { "type": "integer", "description": "Similarity threshold (0–100).", "default": 80 },
|
|
11
|
+
"max_results": { "type": "integer", "description": "Maximum number of results to return.", "default": 20 }
|
|
12
|
+
},
|
|
13
|
+
"required": ["query"]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "search_clinical_trials",
|
|
4
|
+
"description": "Search for clinical trials registered on clinicaltrials.gov based on title, conditions, interventions, outcome measures, and status. Returns a paginated list of studies, containing the NCT ID and description of each trial. You can then take the NCT IDs and use 'get_clinical_trials_*' tools to get detailed information about specific protocol fields for specific studies, or 'extract_clinical_trials_efficacy/safety' tools to get efficacy or adverse events results from specific studies. If you wish to see the next page of results, you can use the 'nextPageToken' value from the previous output of this tool and input it as the 'pageToken' parameter in the next query. Note that currently the search is limited to trials beyond phase 1.",
|
|
5
|
+
"parameter": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"condition": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Query for condition or disease using Essie expression syntax (e.g., 'lung cancer', '(head OR neck) AND pain AND NOT \"back pain\"'). ",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
"intervention": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Query for intervention/treatment using Essie expression syntax (e.g., 'chemotherapy', 'immunotherapy', 'olaparib', 'combination therapy').",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
"query_term": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Query for 'other terms' with Essie expression syntax (e.g., 'combination', 'AREA[LastUpdatePostDate]RANGE[2023-01-15,MAX]', 'Phase II'). Can be used to search for all other protocol fields, including but not limited to title, outcome measures, status, phase, location, etc."
|
|
21
|
+
},
|
|
22
|
+
"pageSize": {
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"description": "Maximum number of studies to return per page (default 10, max 1000).",
|
|
25
|
+
"required": false
|
|
26
|
+
},
|
|
27
|
+
"pageToken": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Token to retrieve the next page of results, obtained from the 'nextPageToken' field of the previous response. Do not specify it for first page. When you make an initial request to the API which supports pagination, the response will include a nextPageToken. This token can then be used as a parameter in the subsequent API request to retrieve the next set of data.",
|
|
30
|
+
"required": false
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"query_schema": {
|
|
35
|
+
"pageSize": 10
|
|
36
|
+
},
|
|
37
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Intervention", "Adverse Effect", "Efficacy", "Search"],
|
|
38
|
+
"type": "ClinicalTrialsSearchTool",
|
|
39
|
+
"tool_url": "/studies"
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
{
|
|
43
|
+
"name": "get_clinical_trial_descriptions",
|
|
44
|
+
"description": "Retrieves detailed identification information for trials, including titles, phases, and descriptions, using their NCT IDs.",
|
|
45
|
+
"parameter": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"nct_ids": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
51
|
+
"items": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"required": true
|
|
55
|
+
},
|
|
56
|
+
"description_type": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Type of information to retrieve. Options are 'brief' for brief descriptions or 'full' for full descriptions.",
|
|
59
|
+
"enum": ["brief", "full"]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"query_schema": {
|
|
64
|
+
"description_type": "brief"
|
|
65
|
+
},
|
|
66
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Description"],
|
|
67
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
68
|
+
"tool_url": "/studies/{nctId}"
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
{
|
|
72
|
+
"name": "get_clinical_trial_status_and_dates",
|
|
73
|
+
"description": "Retrieves trial status and start and completion dates, using their NCT IDs.",
|
|
74
|
+
"parameter": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"nct_ids": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"required": true
|
|
84
|
+
},
|
|
85
|
+
"status_and_date": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "Placeholder."
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"query_schema": {},
|
|
92
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Status", "Dates"],
|
|
93
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
94
|
+
"tool_url": "/studies/{nctId}"
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
{
|
|
98
|
+
"name": "get_clinical_trial_conditions_and_interventions",
|
|
99
|
+
"description": "Retrieves the list of conditions or diseases and the interventions and arm groups that the clinical trials are focused on, using their NCT IDs.",
|
|
100
|
+
"parameter": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"nct_ids": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"required": true
|
|
110
|
+
},
|
|
111
|
+
"condition_and_intervention": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Placeholder."
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"query_schema": {},
|
|
118
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Condition", "Intervention", "Arm Group"],
|
|
119
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
120
|
+
"tool_url": "/studies/{nctId}"
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
{
|
|
124
|
+
"name": "get_clinical_trial_eligibility_criteria",
|
|
125
|
+
"description": "Retrieves the eligibility criteria for the clinical trials, using their NCT IDs.",
|
|
126
|
+
"parameter": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"nct_ids": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"required": true
|
|
136
|
+
},
|
|
137
|
+
"eligibility_criteria": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Placeholder."
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"query_schema": {},
|
|
144
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Eligibility Criteria"],
|
|
145
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
146
|
+
"tool_url": "/studies/{nctId}"
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
{
|
|
150
|
+
"name": "get_clinical_trial_locations",
|
|
151
|
+
"description": "Retrieves the locations where the clinical trials are being conducted, using their NCT IDs.",
|
|
152
|
+
"parameter": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"nct_ids": {
|
|
156
|
+
"type": "array",
|
|
157
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
158
|
+
"items": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"required": true
|
|
162
|
+
},
|
|
163
|
+
"location": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Placeholder."
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"query_schema": {},
|
|
170
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Location"],
|
|
171
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
172
|
+
"tool_url": "/studies/{nctId}"
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
{
|
|
176
|
+
"name": "get_clinical_trial_outcome_measures",
|
|
177
|
+
"description": "Retrieves the outcome measures for the clinical trials, using their NCT IDs.",
|
|
178
|
+
"parameter": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"properties": {
|
|
181
|
+
"nct_ids": {
|
|
182
|
+
"type": "array",
|
|
183
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"required": true
|
|
188
|
+
},
|
|
189
|
+
"outcome_measures": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Decides whether to retrieve primary, secondary, or all outcome measures. Options are 'primary', 'secondary', or 'all'. Default is 'primary'.",
|
|
192
|
+
"enum": ["primary", "secondary", "all"],
|
|
193
|
+
"required": false
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"query_schema": {
|
|
198
|
+
"outcome_measures": "primary"
|
|
199
|
+
},
|
|
200
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Outcome Measures"],
|
|
201
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
202
|
+
"tool_url": "/studies/{nctId}"
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
{
|
|
206
|
+
"name": "get_clinical_trial_references",
|
|
207
|
+
"description": "Retrieves the references (if any) for the clinical trials, using their NCT IDs.",
|
|
208
|
+
"parameter": {
|
|
209
|
+
"type": "object",
|
|
210
|
+
"properties": {
|
|
211
|
+
"nct_ids": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"required": true
|
|
218
|
+
},
|
|
219
|
+
"references": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"description": "Placeholder."
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"query_schema": {},
|
|
226
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "References"],
|
|
227
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
228
|
+
"tool_url": "/studies/{nctId}"
|
|
229
|
+
},
|
|
230
|
+
|
|
231
|
+
{
|
|
232
|
+
"name": "extract_clinical_trial_outcomes",
|
|
233
|
+
"description": "Extracts detailed trial outcome results (e.g., overall survival months, p-values, etc.) from clinicaltrials.gov, using their NCT IDs.",
|
|
234
|
+
"parameter": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"properties": {
|
|
237
|
+
"nct_ids": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"required": true
|
|
244
|
+
},
|
|
245
|
+
"outcome_measure": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Outcome measure to extract. Example values include 'primary' (primary outcomes only), 'secondary' (secondary outcomes only), 'all' (all outcomes), or specific measure names such as 'survival', 'overall survival'. For specific measure names, outcome measures will be matched as long as the input partially matches their titles or descriptions (case agnostic). Querying for specific measure names is recommended after getting an overview of outcome measures ('primary'). If querying for specific measure names does not return any results, this parameter should be set to 'primary' for sanity check. By default, the value is set to 'primary', i.e. the tool will extract all primary outcome results.",
|
|
248
|
+
"required": false
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"query_schema": {
|
|
253
|
+
"outcome_measure": "primary"
|
|
254
|
+
},
|
|
255
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Outcome", "Efficacy", "Primary Outcome", "Secondary Outcome"],
|
|
256
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
257
|
+
"tool_url": "/studies/{nctId}"
|
|
258
|
+
},
|
|
259
|
+
|
|
260
|
+
{
|
|
261
|
+
"name": "extract_clinical_trial_adverse_events",
|
|
262
|
+
"description": "Extracts detailed adverse event results from clinicaltrials.gov, using their NCT IDs.",
|
|
263
|
+
"parameter": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"properties": {
|
|
266
|
+
"nct_ids": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"description": "List of NCT IDs of the clinical trials (e.g., ['NCT04852770', 'NCT01728545']).",
|
|
269
|
+
"items": {
|
|
270
|
+
"type": "string"
|
|
271
|
+
},
|
|
272
|
+
"required": true
|
|
273
|
+
},
|
|
274
|
+
"organ_systems": {
|
|
275
|
+
"type": "array",
|
|
276
|
+
"description": "List of organs or organ systems to filter adverse events (see enum for exact text). Adverse events will be matched only if the input exactly matches their terms (case agnostic). If not specified, all adverse events will be returned. By default, all adverse events will be returned.",
|
|
277
|
+
"items": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"enum": [
|
|
280
|
+
"Blood and Lymphatic System Disorders",
|
|
281
|
+
"Cardiac Disorders",
|
|
282
|
+
"Congenital, Familial and Genetic Disorders",
|
|
283
|
+
"Ear and Labyrinth Disorders",
|
|
284
|
+
"Endocrine Disorders",
|
|
285
|
+
"Eye Disorders",
|
|
286
|
+
"Gastrointestinal Disorders",
|
|
287
|
+
"General Disorders",
|
|
288
|
+
"Hepatobiliary Disorders",
|
|
289
|
+
"Immune System Disorders",
|
|
290
|
+
"Infections and Infestations",
|
|
291
|
+
"Injury, Poisoning and Procedural Complications",
|
|
292
|
+
"Investigations",
|
|
293
|
+
"Metabolism and Nutrition Disorders",
|
|
294
|
+
"Musculoskeletal and Connective Tissue Disorders",
|
|
295
|
+
"Neoplasms Benign, Malignant and Unspecified (Including Cysts and Polyps)",
|
|
296
|
+
"Nervous System Disorders",
|
|
297
|
+
"Pregnancy, Puerperium and Perinatal Conditions",
|
|
298
|
+
"Product Issues",
|
|
299
|
+
"Psychiatric Disorders",
|
|
300
|
+
"Renal and Urinary Disorders",
|
|
301
|
+
"Reproductive System and Breast Disorders",
|
|
302
|
+
"Respiratory, Thoracic and Mediastinal Disorders",
|
|
303
|
+
"Skin and Subcutaneous Tissue Disorders",
|
|
304
|
+
"Social Circumstances",
|
|
305
|
+
"Surgical and Medical Procedures",
|
|
306
|
+
"Vascular Disorders"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"required": false
|
|
310
|
+
},
|
|
311
|
+
"adverse_event_type": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "Type of adverse events to extract. Options are 'serious' (serious adverse events only), 'other' (non-serious adverse events only), 'all' (all adverse events), or specific event names such as 'nausea', 'neutropenia', 'epilepsy' (from MedDRA). For specific event names, adverse events will be matched as long as the input partially matches their terms (case agnostic). Querying for specific adverse event names is recommended as there are typically many adverse events logged. If querying for specific event names does not return any results, this parameter should be set to 'serious' for sanity check. By default, the value is set to 'serious', i.e. the tool will extract all serious adverse events.",
|
|
314
|
+
"required": false
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"query_schema": {
|
|
319
|
+
"adverse_event_type": "serious"
|
|
320
|
+
},
|
|
321
|
+
"label": ["ClinicalTrials.gov", "Clinical Trial", "Study", "Adverse Event", "Safety"],
|
|
322
|
+
"type": "ClinicalTrialsDetailsTool",
|
|
323
|
+
"tool_url": "/studies/{nctId}"
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
]
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "ComposeTool",
|
|
4
|
+
"name": "DrugSafetyAnalyzer",
|
|
5
|
+
"description": "Comprehensive drug safety analysis combining adverse event data, literature review, and molecular information",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"drug_name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Name of the drug to analyze"
|
|
12
|
+
},
|
|
13
|
+
"patient_sex": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["Male", "Female"],
|
|
16
|
+
"description": "Filter by patient sex (optional)"
|
|
17
|
+
},
|
|
18
|
+
"serious_events_only": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "Focus only on serious adverse events",
|
|
21
|
+
"default": false
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["drug_name"]
|
|
25
|
+
},
|
|
26
|
+
"auto_load_dependencies": true,
|
|
27
|
+
"fail_on_missing_tools": false,
|
|
28
|
+
"required_tools": [
|
|
29
|
+
"PubChem_get_CID_by_compound_name",
|
|
30
|
+
"PubChem_get_compound_properties_by_CID",
|
|
31
|
+
"EuropePMC_search_articles"
|
|
32
|
+
],
|
|
33
|
+
"composition_file": "drug_safety_analyzer.py",
|
|
34
|
+
"composition_function": "compose"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "ComposeTool",
|
|
38
|
+
"name": "ToolDescriptionOptimizer",
|
|
39
|
+
"description": "Optimizes a tool's description and parameter descriptions by generating test cases, executing them, analyzing the results, and suggesting improved descriptions for both the tool and its arguments. Optionally saves a comprehensive optimization report to a file without overwriting the original.",
|
|
40
|
+
"parameter": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"tool_config": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "The full configuration of the tool to optimize."
|
|
46
|
+
},
|
|
47
|
+
"save_to_file": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"description": "If true, save the optimized description to a file (do not overwrite the original).",
|
|
50
|
+
"default": false
|
|
51
|
+
},
|
|
52
|
+
"output_file": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Optional file path to save the optimized description. If not provided, use '<tool_name>_optimized_description.txt'."
|
|
55
|
+
},
|
|
56
|
+
"max_iterations": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"description": "Maximum number of optimization rounds to perform.",
|
|
59
|
+
"default": 3
|
|
60
|
+
},
|
|
61
|
+
"satisfaction_threshold": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "Quality score threshold (1-10) to consider optimization satisfactory.",
|
|
64
|
+
"default": 8
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": ["tool_config"]
|
|
68
|
+
},
|
|
69
|
+
"auto_load_dependencies": true,
|
|
70
|
+
"fail_on_missing_tools": false,
|
|
71
|
+
"required_tools": [
|
|
72
|
+
"TestCaseGenerator",
|
|
73
|
+
"DescriptionAnalyzer",
|
|
74
|
+
"ArgumentDescriptionOptimizer",
|
|
75
|
+
"DescriptionQualityEvaluator"
|
|
76
|
+
],
|
|
77
|
+
"composition_file": "tool_description_optimizer.py",
|
|
78
|
+
"composition_function": "compose"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "ComposeTool",
|
|
82
|
+
"name": "ToolDiscover",
|
|
83
|
+
"description": "Generates new ToolUniverse-compliant tools based on short descriptions through an intelligent discovery and refinement process. Automatically determines the optimal tool type and category, discovers similar existing tools, generates initial specifications, and iteratively refines the tool configuration using agentic optimization tools until it meets quality standards.",
|
|
84
|
+
"parameter": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"tool_description": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Short description of the desired tool functionality and purpose. Tool Discover will automatically analyze this to determine the optimal tool type (PackageTool, RESTTool, XMLTool, or AgenticTool) and appropriate category."
|
|
90
|
+
},
|
|
91
|
+
"max_iterations": {
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"description": "Maximum number of refinement iterations to perform.",
|
|
94
|
+
"default": 20
|
|
95
|
+
},
|
|
96
|
+
"save_to_file": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "Whether to save the generated tool configuration and report to a file.",
|
|
99
|
+
"default": true
|
|
100
|
+
},
|
|
101
|
+
"output_file": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Optional file path to save the generated tool. If not provided, uses auto-generated filename."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": ["tool_description"]
|
|
107
|
+
},
|
|
108
|
+
"auto_load_dependencies": true,
|
|
109
|
+
"fail_on_missing_tools": false,
|
|
110
|
+
"required_tools": [],
|
|
111
|
+
"composition_file": "tool_discover.py",
|
|
112
|
+
"composition_function": "compose"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "ComposeTool",
|
|
116
|
+
"name": "LiteratureSearchTool",
|
|
117
|
+
"description": "Comprehensive literature search and summary tool that searches multiple databases (EuropePMC, OpenAlex, PubTator) and generates AI-powered summaries of research findings",
|
|
118
|
+
"parameter": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"research_topic": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "The research topic or query to search for in the literature"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": ["research_topic"]
|
|
127
|
+
},
|
|
128
|
+
"auto_load_dependencies": true,
|
|
129
|
+
"fail_on_missing_tools": false,
|
|
130
|
+
"required_tools": [
|
|
131
|
+
"EuropePMC_search_articles",
|
|
132
|
+
"openalex_literature_search",
|
|
133
|
+
"PubTator3_LiteratureSearch",
|
|
134
|
+
"MedicalLiteratureReviewer"
|
|
135
|
+
],
|
|
136
|
+
"composition_file": "literature_tool.py",
|
|
137
|
+
"composition_function": "compose"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "ComposeTool",
|
|
141
|
+
"name": "ComprehensiveDrugDiscoveryPipeline",
|
|
142
|
+
"description": "Complete end-to-end drug discovery workflow from disease to optimized candidates. Identifies targets, discovers lead compounds, screens for ADMET properties, assesses safety, and validates with literature.",
|
|
143
|
+
"parameter": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"disease_efo_id": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "The EFO ID of the disease for drug discovery (e.g., 'EFO_0001074' for Alzheimer's disease)"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": ["disease_efo_id"]
|
|
152
|
+
},
|
|
153
|
+
"auto_load_dependencies": true,
|
|
154
|
+
"fail_on_missing_tools": false,
|
|
155
|
+
"required_tools": [
|
|
156
|
+
"OpenTargets_get_associated_targets_by_disease_efoId",
|
|
157
|
+
"OpenTargets_get_associated_drugs_by_disease_efoId",
|
|
158
|
+
"ADMETAI_predict_BBB_penetrance",
|
|
159
|
+
"ADMETAI_predict_bioavailability",
|
|
160
|
+
"ADMETAI_predict_toxicity",
|
|
161
|
+
"PubChem_get_CID_by_compound_name",
|
|
162
|
+
"PubChem_get_compound_properties_by_CID",
|
|
163
|
+
"LiteratureSearchTool"
|
|
164
|
+
],
|
|
165
|
+
"composition_file": "comprehensive_drug_discovery.py",
|
|
166
|
+
"composition_function": "compose"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "ComposeTool",
|
|
170
|
+
"name": "BiomarkerDiscoveryWorkflow",
|
|
171
|
+
"description": "Discover and validate biomarkers for a specific disease condition using literature analysis, expression data, pathway enrichment, and clinical validation.",
|
|
172
|
+
"parameter": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"properties": {
|
|
175
|
+
"disease_condition": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "The disease condition to discover biomarkers for (e.g., 'breast cancer', 'Alzheimer's disease')"
|
|
178
|
+
},
|
|
179
|
+
"sample_type": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "The type of sample to analyze (e.g., 'blood', 'tissue', 'plasma')",
|
|
182
|
+
"default": "blood"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": ["disease_condition"]
|
|
186
|
+
},
|
|
187
|
+
"auto_load_dependencies": true,
|
|
188
|
+
"fail_on_missing_tools": false,
|
|
189
|
+
"required_tools": [
|
|
190
|
+
"LiteratureSearchTool",
|
|
191
|
+
"HPA_search_genes_by_query",
|
|
192
|
+
"HPA_get_comprehensive_gene_details_by_ensembl_id",
|
|
193
|
+
"HPA_get_biological_processes_by_gene",
|
|
194
|
+
"HPA_get_contextual_biological_process_analysis",
|
|
195
|
+
"HPA_get_protein_interactions_by_gene",
|
|
196
|
+
"HPA_get_cancer_prognostics_by_gene",
|
|
197
|
+
"FDA_get_drug_names_by_clinical_pharmacology"
|
|
198
|
+
],
|
|
199
|
+
"composition_file": "biomarker_discovery.py",
|
|
200
|
+
"composition_function": "compose"
|
|
201
|
+
}
|
|
202
|
+
]
|