tooluniverse 1.0.10__py3-none-any.whl → 1.0.11.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 +57 -1
- tooluniverse/blast_tool.py +132 -0
- tooluniverse/boltz_tool.py +2 -2
- tooluniverse/cbioportal_tool.py +42 -0
- tooluniverse/clinvar_tool.py +268 -74
- tooluniverse/compose_scripts/tool_discover.py +1941 -443
- tooluniverse/data/agentic_tools.json +0 -370
- tooluniverse/data/alphafold_tools.json +6 -6
- tooluniverse/data/blast_tools.json +112 -0
- tooluniverse/data/cbioportal_tools.json +87 -0
- tooluniverse/data/clinvar_tools.json +235 -0
- tooluniverse/data/compose_tools.json +0 -89
- tooluniverse/data/dbsnp_tools.json +275 -0
- tooluniverse/data/emdb_tools.json +61 -0
- tooluniverse/data/ensembl_tools.json +259 -0
- tooluniverse/data/file_download_tools.json +275 -0
- tooluniverse/data/geo_tools.json +200 -48
- tooluniverse/data/gnomad_tools.json +109 -0
- tooluniverse/data/gtopdb_tools.json +68 -0
- tooluniverse/data/gwas_tools.json +32 -0
- tooluniverse/data/interpro_tools.json +199 -0
- tooluniverse/data/jaspar_tools.json +70 -0
- tooluniverse/data/kegg_tools.json +356 -0
- tooluniverse/data/mpd_tools.json +87 -0
- tooluniverse/data/ols_tools.json +314 -0
- tooluniverse/data/package_discovery_tools.json +64 -0
- tooluniverse/data/packages/categorized_tools.txt +0 -1
- tooluniverse/data/packages/machine_learning_tools.json +0 -47
- tooluniverse/data/paleobiology_tools.json +91 -0
- tooluniverse/data/pride_tools.json +62 -0
- tooluniverse/data/pypi_package_inspector_tools.json +158 -0
- tooluniverse/data/python_executor_tools.json +341 -0
- tooluniverse/data/regulomedb_tools.json +50 -0
- tooluniverse/data/remap_tools.json +89 -0
- tooluniverse/data/screen_tools.json +89 -0
- tooluniverse/data/tool_discovery_agents.json +428 -0
- tooluniverse/data/tool_discovery_agents.json.backup +1343 -0
- tooluniverse/data/uniprot_tools.json +77 -0
- tooluniverse/data/web_search_tools.json +250 -0
- tooluniverse/data/worms_tools.json +55 -0
- tooluniverse/dbsnp_tool.py +196 -58
- tooluniverse/default_config.py +35 -2
- tooluniverse/emdb_tool.py +30 -0
- tooluniverse/ensembl_tool.py +140 -47
- tooluniverse/execute_function.py +78 -14
- tooluniverse/file_download_tool.py +269 -0
- tooluniverse/geo_tool.py +81 -28
- tooluniverse/gnomad_tool.py +100 -52
- tooluniverse/gtopdb_tool.py +41 -0
- tooluniverse/interpro_tool.py +72 -0
- tooluniverse/jaspar_tool.py +30 -0
- tooluniverse/kegg_tool.py +230 -0
- tooluniverse/mpd_tool.py +42 -0
- tooluniverse/ncbi_eutils_tool.py +96 -0
- tooluniverse/ols_tool.py +435 -0
- tooluniverse/package_discovery_tool.py +217 -0
- tooluniverse/paleobiology_tool.py +30 -0
- tooluniverse/pride_tool.py +30 -0
- tooluniverse/pypi_package_inspector_tool.py +593 -0
- tooluniverse/python_executor_tool.py +711 -0
- tooluniverse/regulomedb_tool.py +30 -0
- tooluniverse/remap_tool.py +44 -0
- tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +1 -1
- tooluniverse/screen_tool.py +44 -0
- tooluniverse/smcp.py +10 -2
- tooluniverse/smcp_server.py +3 -3
- tooluniverse/tool_finder_embedding.py +3 -1
- tooluniverse/tool_finder_keyword.py +3 -1
- tooluniverse/tool_finder_llm.py +6 -2
- tooluniverse/tools/{UCSC_get_genes_by_region.py → BLAST_nucleotide_search.py} +22 -26
- tooluniverse/tools/BLAST_protein_search.py +63 -0
- tooluniverse/tools/ClinVar_search_variants.py +26 -15
- tooluniverse/tools/CodeQualityAnalyzer.py +3 -3
- tooluniverse/tools/EMDB_get_structure.py +46 -0
- tooluniverse/tools/GtoPdb_get_targets.py +52 -0
- tooluniverse/tools/InterPro_get_domain_details.py +46 -0
- tooluniverse/tools/InterPro_get_protein_domains.py +49 -0
- tooluniverse/tools/InterPro_search_domains.py +52 -0
- tooluniverse/tools/JASPAR_get_transcription_factors.py +52 -0
- tooluniverse/tools/MPD_get_phenotype_data.py +59 -0
- tooluniverse/tools/PRIDE_search_proteomics.py +52 -0
- tooluniverse/tools/PackageAnalyzer.py +55 -0
- tooluniverse/tools/Paleobiology_get_fossils.py +52 -0
- tooluniverse/tools/PyPIPackageInspector.py +59 -0
- tooluniverse/tools/ReMap_get_transcription_factor_binding.py +59 -0
- tooluniverse/tools/ReferenceInfoAnalyzer.py +55 -0
- tooluniverse/tools/RegulomeDB_query_variant.py +46 -0
- tooluniverse/tools/SCREEN_get_regulatory_elements.py +59 -0
- tooluniverse/tools/{ArgumentDescriptionOptimizer.py → TestResultsAnalyzer.py} +13 -13
- tooluniverse/tools/ToolDiscover.py +11 -11
- tooluniverse/tools/UniProt_id_mapping.py +63 -0
- tooluniverse/tools/UniProt_search.py +63 -0
- tooluniverse/tools/UnifiedToolGenerator.py +59 -0
- tooluniverse/tools/WoRMS_search_species.py +49 -0
- tooluniverse/tools/XMLToolOptimizer.py +55 -0
- tooluniverse/tools/__init__.py +119 -29
- tooluniverse/tools/alphafold_get_annotations.py +3 -3
- tooluniverse/tools/alphafold_get_prediction.py +3 -3
- tooluniverse/tools/alphafold_get_summary.py +3 -3
- tooluniverse/tools/cBioPortal_get_cancer_studies.py +46 -0
- tooluniverse/tools/cBioPortal_get_mutations.py +52 -0
- tooluniverse/tools/{gnomAD_query_variant.py → clinvar_get_clinical_significance.py} +8 -11
- tooluniverse/tools/clinvar_get_variant_details.py +49 -0
- tooluniverse/tools/dbSNP_get_variant_by_rsid.py +7 -7
- tooluniverse/tools/dbsnp_get_frequencies.py +46 -0
- tooluniverse/tools/dbsnp_search_by_gene.py +52 -0
- tooluniverse/tools/download_binary_file.py +66 -0
- tooluniverse/tools/download_file.py +71 -0
- tooluniverse/tools/download_text_content.py +55 -0
- tooluniverse/tools/dynamic_package_discovery.py +59 -0
- tooluniverse/tools/ensembl_get_sequence.py +52 -0
- tooluniverse/tools/{Ensembl_lookup_gene_by_symbol.py → ensembl_get_variants.py} +11 -11
- tooluniverse/tools/ensembl_lookup_gene.py +46 -0
- tooluniverse/tools/geo_get_dataset_info.py +46 -0
- tooluniverse/tools/geo_get_sample_info.py +46 -0
- tooluniverse/tools/geo_search_datasets.py +67 -0
- tooluniverse/tools/gnomad_get_gene_constraints.py +49 -0
- tooluniverse/tools/kegg_find_genes.py +52 -0
- tooluniverse/tools/kegg_get_gene_info.py +46 -0
- tooluniverse/tools/kegg_get_pathway_info.py +46 -0
- tooluniverse/tools/kegg_list_organisms.py +44 -0
- tooluniverse/tools/kegg_search_pathway.py +46 -0
- tooluniverse/tools/ols_find_similar_terms.py +63 -0
- tooluniverse/tools/{get_hyperopt_info.py → ols_get_ontology_info.py} +13 -10
- tooluniverse/tools/ols_get_term_ancestors.py +67 -0
- tooluniverse/tools/ols_get_term_children.py +67 -0
- tooluniverse/tools/{TestCaseGenerator.py → ols_get_term_info.py} +12 -9
- tooluniverse/tools/{CodeOptimizer.py → ols_search_ontologies.py} +22 -14
- tooluniverse/tools/ols_search_terms.py +71 -0
- tooluniverse/tools/python_code_executor.py +79 -0
- tooluniverse/tools/python_script_runner.py +79 -0
- tooluniverse/tools/web_api_documentation_search.py +63 -0
- tooluniverse/tools/web_search.py +71 -0
- tooluniverse/uniprot_tool.py +219 -16
- tooluniverse/url_tool.py +18 -0
- tooluniverse/utils.py +2 -2
- tooluniverse/web_search_tool.py +229 -0
- tooluniverse/worms_tool.py +64 -0
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/METADATA +3 -2
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/RECORD +144 -55
- tooluniverse/data/genomics_tools.json +0 -174
- tooluniverse/tools/ToolDescriptionOptimizer.py +0 -67
- tooluniverse/tools/ToolImplementationGenerator.py +0 -67
- tooluniverse/tools/ToolOptimizer.py +0 -59
- tooluniverse/tools/ToolSpecificationGenerator.py +0 -67
- tooluniverse/tools/ToolSpecificationOptimizer.py +0 -63
- tooluniverse/ucsc_tool.py +0 -60
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/WHEEL +0 -0
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/entry_points.txt +0 -0
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-1.0.10.dist-info → tooluniverse-1.0.11.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "CBioPortalRESTTool",
|
|
4
|
+
"name": "cBioPortal_get_cancer_studies",
|
|
5
|
+
"description": "Get list of cancer studies from cBioPortal",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"limit": {"type": "integer", "default": 20, "description": "Number of studies to return"}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"fields": {
|
|
13
|
+
"endpoint": "https://www.cbioportal.org/api/studies?limit={limit}",
|
|
14
|
+
"return_format": "JSON"
|
|
15
|
+
},
|
|
16
|
+
"return_schema": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"studyId": {"type": "string"},
|
|
22
|
+
"name": {"type": "string"},
|
|
23
|
+
"description": {"type": "string"},
|
|
24
|
+
"cancerTypeId": {"type": "string"},
|
|
25
|
+
"publicStudy": {"type": "boolean"},
|
|
26
|
+
"pmid": {"type": "string"},
|
|
27
|
+
"citation": {"type": "string"},
|
|
28
|
+
"groups": {"type": "array"},
|
|
29
|
+
"status": {"type": "string"},
|
|
30
|
+
"importDate": {"type": "string"},
|
|
31
|
+
"allSampleCount": {"type": "integer"},
|
|
32
|
+
"readPermission": {"type": "boolean"},
|
|
33
|
+
"referenceGenome": {"type": "string"}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"test_examples": [{"limit": 5}, {"limit": 10}]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "CBioPortalRESTTool",
|
|
41
|
+
"name": "cBioPortal_get_mutations",
|
|
42
|
+
"description": "Get mutation data for specific genes in a cancer study",
|
|
43
|
+
"parameter": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"study_id": {"type": "string", "description": "Cancer study ID"},
|
|
47
|
+
"gene_list": {"type": "string", "description": "Comma-separated gene symbols"}
|
|
48
|
+
},
|
|
49
|
+
"required": ["study_id", "gene_list"]
|
|
50
|
+
},
|
|
51
|
+
"fields": {
|
|
52
|
+
"endpoint": "https://www.cbioportal.org/api/mutations?studyId={study_id}&geneList={gene_list}",
|
|
53
|
+
"return_format": "JSON"
|
|
54
|
+
},
|
|
55
|
+
"return_schema": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"sampleId": {"type": "string"},
|
|
61
|
+
"studyId": {"type": "string"},
|
|
62
|
+
"geneSymbol": {"type": "string"},
|
|
63
|
+
"mutationType": {"type": "string"},
|
|
64
|
+
"proteinChange": {"type": "string"},
|
|
65
|
+
"aminoAcidChange": {"type": "string"},
|
|
66
|
+
"chromosome": {"type": "string"},
|
|
67
|
+
"startPosition": {"type": "integer"},
|
|
68
|
+
"endPosition": {"type": "integer"},
|
|
69
|
+
"referenceAllele": {"type": "string"},
|
|
70
|
+
"variantAllele": {"type": "string"},
|
|
71
|
+
"mutationStatus": {"type": "string"},
|
|
72
|
+
"validationStatus": {"type": "string"},
|
|
73
|
+
"sequencingCenter": {"type": "string"},
|
|
74
|
+
"sequencer": {"type": "string"},
|
|
75
|
+
"tumorSeqAllele1": {"type": "string"},
|
|
76
|
+
"tumorSeqAllele2": {"type": "string"},
|
|
77
|
+
"matchedNormSampleBarcode": {"type": "string"},
|
|
78
|
+
"tumorSampleBarcode": {"type": "string"}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"test_examples": [
|
|
83
|
+
{"study_id": "brca_tcga", "gene_list": "BRCA1,BRCA2"},
|
|
84
|
+
{"study_id": "luad_tcga", "gene_list": "EGFR,KRAS"}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
]
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "ClinVarSearchVariants",
|
|
4
|
+
"name": "clinvar_search_variants",
|
|
5
|
+
"description": "Search for variants in ClinVar database by gene name, condition, or variant ID. Returns variant identifiers and basic information.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"gene": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Gene name or symbol (e.g., 'BRCA1', 'BRCA2')"
|
|
12
|
+
},
|
|
13
|
+
"condition": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Disease or condition name (e.g., 'breast cancer', 'diabetes')"
|
|
16
|
+
},
|
|
17
|
+
"variant_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "ClinVar variant ID (e.g., '12345')"
|
|
20
|
+
},
|
|
21
|
+
"max_results": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"description": "Maximum number of results to return",
|
|
24
|
+
"default": 20,
|
|
25
|
+
"minimum": 1,
|
|
26
|
+
"maximum": 100
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": []
|
|
30
|
+
},
|
|
31
|
+
"fields": {
|
|
32
|
+
"endpoint": "/esearch.fcgi",
|
|
33
|
+
"return_format": "JSON"
|
|
34
|
+
},
|
|
35
|
+
"return_schema": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"description": "ClinVar search results",
|
|
38
|
+
"properties": {
|
|
39
|
+
"status": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Status of the request"
|
|
42
|
+
},
|
|
43
|
+
"data": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Search results from ClinVar",
|
|
46
|
+
"properties": {
|
|
47
|
+
"esearchresult": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"count": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Number of results found"
|
|
53
|
+
},
|
|
54
|
+
"idlist": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"description": "List of ClinVar variant IDs"
|
|
60
|
+
},
|
|
61
|
+
"querytranslation": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Translated query"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"search_params": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"description": "Search parameters used",
|
|
72
|
+
"properties": {
|
|
73
|
+
"gene": {"type": "string"},
|
|
74
|
+
"condition": {"type": "string"},
|
|
75
|
+
"variant_id": {"type": "string"}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"url": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "API URL used"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"test_examples": [
|
|
85
|
+
{
|
|
86
|
+
"gene": "BRCA1",
|
|
87
|
+
"max_results": 10
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"condition": "breast cancer",
|
|
91
|
+
"max_results": 5
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"label": [
|
|
95
|
+
"ClinVar",
|
|
96
|
+
"Variants",
|
|
97
|
+
"Search"
|
|
98
|
+
],
|
|
99
|
+
"metadata": {
|
|
100
|
+
"tags": ["variants", "clinical", "disease"],
|
|
101
|
+
"difficulty_level": "easy",
|
|
102
|
+
"estimated_execution_time": "< 3 seconds"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "ClinVarGetVariantDetails",
|
|
107
|
+
"name": "clinvar_get_variant_details",
|
|
108
|
+
"description": "Get detailed variant information from ClinVar by variant ID. Returns comprehensive variant data including clinical significance.",
|
|
109
|
+
"parameter": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"variant_id": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "ClinVar variant ID (e.g., '12345', '123456')"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"required": ["variant_id"]
|
|
118
|
+
},
|
|
119
|
+
"fields": {
|
|
120
|
+
"endpoint": "/efetch.fcgi",
|
|
121
|
+
"return_format": "JSON"
|
|
122
|
+
},
|
|
123
|
+
"return_schema": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"description": "ClinVar variant details",
|
|
126
|
+
"properties": {
|
|
127
|
+
"status": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "Status of the request"
|
|
130
|
+
},
|
|
131
|
+
"data": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"description": "Detailed variant information from ClinVar",
|
|
134
|
+
"properties": {
|
|
135
|
+
"variation": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"description": "Variant data structure"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"variant_id": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"description": "Input variant ID"
|
|
144
|
+
},
|
|
145
|
+
"url": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "API URL used"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"test_examples": [
|
|
152
|
+
{
|
|
153
|
+
"variant_id": "12345"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"variant_id": "123456"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"label": [
|
|
160
|
+
"ClinVar",
|
|
161
|
+
"Variant",
|
|
162
|
+
"Details"
|
|
163
|
+
],
|
|
164
|
+
"metadata": {
|
|
165
|
+
"tags": ["variant", "details", "clinical"],
|
|
166
|
+
"difficulty_level": "easy",
|
|
167
|
+
"estimated_execution_time": "< 3 seconds"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "ClinVarGetClinicalSignificance",
|
|
172
|
+
"name": "clinvar_get_clinical_significance",
|
|
173
|
+
"description": "Get clinical significance information for a variant from ClinVar. Returns pathogenicity classification and clinical interpretations.",
|
|
174
|
+
"parameter": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"variant_id": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "ClinVar variant ID (e.g., '12345', '123456')"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"required": ["variant_id"]
|
|
183
|
+
},
|
|
184
|
+
"fields": {
|
|
185
|
+
"endpoint": "/esummary.fcgi",
|
|
186
|
+
"return_format": "JSON"
|
|
187
|
+
},
|
|
188
|
+
"return_schema": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"description": "ClinVar clinical significance data",
|
|
191
|
+
"properties": {
|
|
192
|
+
"status": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "Status of the request"
|
|
195
|
+
},
|
|
196
|
+
"data": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"description": "Clinical significance information from ClinVar",
|
|
199
|
+
"properties": {
|
|
200
|
+
"result": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"description": "Summary results for the variant"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"variant_id": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "Input variant ID"
|
|
209
|
+
},
|
|
210
|
+
"url": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "API URL used"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"test_examples": [
|
|
217
|
+
{
|
|
218
|
+
"variant_id": "12345"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"variant_id": "123456"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"label": [
|
|
225
|
+
"ClinVar",
|
|
226
|
+
"Clinical",
|
|
227
|
+
"Significance"
|
|
228
|
+
],
|
|
229
|
+
"metadata": {
|
|
230
|
+
"tags": ["clinical", "pathogenicity", "significance"],
|
|
231
|
+
"difficulty_level": "easy",
|
|
232
|
+
"estimated_execution_time": "< 3 seconds"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
]
|
|
@@ -40,95 +40,6 @@
|
|
|
40
40
|
"composition_file": "drug_safety_analyzer.py",
|
|
41
41
|
"composition_function": "compose"
|
|
42
42
|
},
|
|
43
|
-
{
|
|
44
|
-
"type": "ComposeTool",
|
|
45
|
-
"name": "ToolDescriptionOptimizer",
|
|
46
|
-
"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.",
|
|
47
|
-
"parameter": {
|
|
48
|
-
"type": "object",
|
|
49
|
-
"properties": {
|
|
50
|
-
"tool_config": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"description": "The full configuration of the tool to optimize."
|
|
53
|
-
},
|
|
54
|
-
"save_to_file": {
|
|
55
|
-
"type": "boolean",
|
|
56
|
-
"description": "If true, save the optimized description to a file (do not overwrite the original).",
|
|
57
|
-
"default": false
|
|
58
|
-
},
|
|
59
|
-
"output_file": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"description": "Optional file path to save the optimized description. If not provided, use '<tool_name>_optimized_description.txt'."
|
|
62
|
-
},
|
|
63
|
-
"max_iterations": {
|
|
64
|
-
"type": "integer",
|
|
65
|
-
"description": "Maximum number of optimization rounds to perform.",
|
|
66
|
-
"default": 3
|
|
67
|
-
},
|
|
68
|
-
"satisfaction_threshold": {
|
|
69
|
-
"type": "number",
|
|
70
|
-
"description": "Quality score threshold (1-10) to consider optimization satisfactory.",
|
|
71
|
-
"default": 8
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"required": [
|
|
75
|
-
"tool_config",
|
|
76
|
-
"save_to_file",
|
|
77
|
-
"output_file",
|
|
78
|
-
"max_iterations",
|
|
79
|
-
"satisfaction_threshold"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"auto_load_dependencies": true,
|
|
83
|
-
"fail_on_missing_tools": false,
|
|
84
|
-
"required_tools": [
|
|
85
|
-
"TestCaseGenerator",
|
|
86
|
-
"DescriptionAnalyzer",
|
|
87
|
-
"ArgumentDescriptionOptimizer",
|
|
88
|
-
"DescriptionQualityEvaluator"
|
|
89
|
-
],
|
|
90
|
-
"composition_file": "tool_description_optimizer.py",
|
|
91
|
-
"composition_function": "compose"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "ComposeTool",
|
|
95
|
-
"name": "ToolDiscover",
|
|
96
|
-
"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.",
|
|
97
|
-
"parameter": {
|
|
98
|
-
"type": "object",
|
|
99
|
-
"properties": {
|
|
100
|
-
"tool_description": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"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."
|
|
103
|
-
},
|
|
104
|
-
"max_iterations": {
|
|
105
|
-
"type": "integer",
|
|
106
|
-
"description": "Maximum number of refinement iterations to perform.",
|
|
107
|
-
"default": 20
|
|
108
|
-
},
|
|
109
|
-
"save_to_file": {
|
|
110
|
-
"type": "boolean",
|
|
111
|
-
"description": "Whether to save the generated tool configuration and report to a file.",
|
|
112
|
-
"default": true
|
|
113
|
-
},
|
|
114
|
-
"output_file": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"description": "Optional file path to save the generated tool. If not provided, uses auto-generated filename."
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"required": [
|
|
120
|
-
"tool_description",
|
|
121
|
-
"max_iterations",
|
|
122
|
-
"save_to_file",
|
|
123
|
-
"output_file"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"auto_load_dependencies": true,
|
|
127
|
-
"fail_on_missing_tools": false,
|
|
128
|
-
"required_tools": [],
|
|
129
|
-
"composition_file": "tool_discover.py",
|
|
130
|
-
"composition_function": "compose"
|
|
131
|
-
},
|
|
132
43
|
{
|
|
133
44
|
"type": "ComposeTool",
|
|
134
45
|
"name": "LiteratureSearchTool",
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "dbSNPGetVariantByRsID",
|
|
4
|
+
"name": "dbsnp_get_variant_by_rsid",
|
|
5
|
+
"description": "Get variant information from dbSNP by rsID. Returns genomic coordinates, alleles, and basic variant information.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"rsid": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "dbSNP rsID (e.g., 'rs12345', '12345')"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["rsid"]
|
|
15
|
+
},
|
|
16
|
+
"fields": {
|
|
17
|
+
"endpoint": "/beta/refsnp",
|
|
18
|
+
"return_format": "JSON"
|
|
19
|
+
},
|
|
20
|
+
"return_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"description": "dbSNP variant information",
|
|
23
|
+
"properties": {
|
|
24
|
+
"status": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Status of the request"
|
|
27
|
+
},
|
|
28
|
+
"data": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"description": "Variant information from dbSNP",
|
|
31
|
+
"properties": {
|
|
32
|
+
"refsnp_id": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "dbSNP reference ID"
|
|
35
|
+
},
|
|
36
|
+
"primary_snapshot_data": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"description": "Primary variant data",
|
|
39
|
+
"properties": {
|
|
40
|
+
"placements_with_allele": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"description": "Genomic placements",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"seq_id": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Chromosome"
|
|
49
|
+
},
|
|
50
|
+
"position": {
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"description": "Genomic position"
|
|
53
|
+
},
|
|
54
|
+
"alleles": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"description": "Allele information"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"rsid": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Input rsID"
|
|
68
|
+
},
|
|
69
|
+
"url": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "API URL used"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"test_examples": [
|
|
76
|
+
{
|
|
77
|
+
"rsid": "rs12345"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"rsid": "rs429358"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"label": [
|
|
84
|
+
"dbSNP",
|
|
85
|
+
"Variant",
|
|
86
|
+
"RsID"
|
|
87
|
+
],
|
|
88
|
+
"metadata": {
|
|
89
|
+
"tags": ["snp", "variant", "genomics"],
|
|
90
|
+
"difficulty_level": "easy",
|
|
91
|
+
"estimated_execution_time": "< 2 seconds"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "dbSNPSearchByGene",
|
|
96
|
+
"name": "dbsnp_search_by_gene",
|
|
97
|
+
"description": "Search for variants in a specific gene. Returns variants associated with the gene symbol.",
|
|
98
|
+
"parameter": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"gene_symbol": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Gene symbol (e.g., 'BRCA1', 'TP53', 'APOE')"
|
|
104
|
+
},
|
|
105
|
+
"limit": {
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"description": "Maximum number of results to return",
|
|
108
|
+
"default": 20,
|
|
109
|
+
"minimum": 1,
|
|
110
|
+
"maximum": 100
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": ["gene_symbol"]
|
|
114
|
+
},
|
|
115
|
+
"fields": {
|
|
116
|
+
"endpoint": "/beta/refsnp",
|
|
117
|
+
"return_format": "JSON"
|
|
118
|
+
},
|
|
119
|
+
"return_schema": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"description": "dbSNP gene search results",
|
|
122
|
+
"properties": {
|
|
123
|
+
"status": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Status of the request"
|
|
126
|
+
},
|
|
127
|
+
"data": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"description": "Search results from dbSNP",
|
|
130
|
+
"properties": {
|
|
131
|
+
"variants": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"description": "Array of variant information",
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"properties": {
|
|
137
|
+
"refsnp_id": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "dbSNP reference ID"
|
|
140
|
+
},
|
|
141
|
+
"gene": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"description": "Gene symbol"
|
|
144
|
+
},
|
|
145
|
+
"position": {
|
|
146
|
+
"type": "integer",
|
|
147
|
+
"description": "Genomic position"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"gene_symbol": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "Input gene symbol"
|
|
157
|
+
},
|
|
158
|
+
"url": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"description": "API URL used"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"test_examples": [
|
|
165
|
+
{
|
|
166
|
+
"gene_symbol": "BRCA1",
|
|
167
|
+
"limit": 10
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"gene_symbol": "TP53",
|
|
171
|
+
"limit": 5
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"label": [
|
|
175
|
+
"dbSNP",
|
|
176
|
+
"Gene",
|
|
177
|
+
"Search"
|
|
178
|
+
],
|
|
179
|
+
"metadata": {
|
|
180
|
+
"tags": ["gene", "search", "variants"],
|
|
181
|
+
"difficulty_level": "easy",
|
|
182
|
+
"estimated_execution_time": "< 3 seconds"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "dbSNPGetFrequencies",
|
|
187
|
+
"name": "dbsnp_get_frequencies",
|
|
188
|
+
"description": "Get allele frequencies for a variant from dbSNP. Returns population-specific allele frequency data.",
|
|
189
|
+
"parameter": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"rsid": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "dbSNP rsID (e.g., 'rs12345', '12345')"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": ["rsid"]
|
|
198
|
+
},
|
|
199
|
+
"fields": {
|
|
200
|
+
"endpoint": "/beta/refsnp",
|
|
201
|
+
"return_format": "JSON"
|
|
202
|
+
},
|
|
203
|
+
"return_schema": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"description": "dbSNP allele frequency data",
|
|
206
|
+
"properties": {
|
|
207
|
+
"status": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Status of the request"
|
|
210
|
+
},
|
|
211
|
+
"data": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"description": "Variant information from dbSNP",
|
|
214
|
+
"properties": {
|
|
215
|
+
"refsnp_id": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "dbSNP reference ID"
|
|
218
|
+
},
|
|
219
|
+
"primary_snapshot_data": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"description": "Primary variant data"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"frequencies": {
|
|
226
|
+
"type": "array",
|
|
227
|
+
"description": "Array of allele frequency data",
|
|
228
|
+
"items": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"population": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "Population name"
|
|
234
|
+
},
|
|
235
|
+
"allele": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"description": "Allele"
|
|
238
|
+
},
|
|
239
|
+
"frequency": {
|
|
240
|
+
"type": "number",
|
|
241
|
+
"description": "Allele frequency"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"rsid": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"description": "Input rsID"
|
|
249
|
+
},
|
|
250
|
+
"url": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"description": "API URL used"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"test_examples": [
|
|
257
|
+
{
|
|
258
|
+
"rsid": "rs429358"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"rsid": "rs7412"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"label": [
|
|
265
|
+
"dbSNP",
|
|
266
|
+
"Frequency",
|
|
267
|
+
"Population"
|
|
268
|
+
],
|
|
269
|
+
"metadata": {
|
|
270
|
+
"tags": ["frequency", "population", "allele"],
|
|
271
|
+
"difficulty_level": "easy",
|
|
272
|
+
"estimated_execution_time": "< 2 seconds"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
]
|