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,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
|
+
]
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "SearchSPLTool",
|
|
4
|
+
"name": "DailyMed_search_spls",
|
|
5
|
+
"description": "Search SPL list using multiple filter conditions (drug_name/ndc/rxcui/setid) and return metadata + data array.",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"drug_name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Generic or brand name of the drug, e.g., 'TAMSULOSIN HYDROCHLORIDE'."
|
|
12
|
+
},
|
|
13
|
+
"ndc": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "National Drug Code (NDC)."
|
|
16
|
+
},
|
|
17
|
+
"rxcui": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "RxNorm Code (RXCUI)."
|
|
20
|
+
},
|
|
21
|
+
"setid": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "uuid",
|
|
24
|
+
"description": "Set ID corresponding to the SPL."
|
|
25
|
+
},
|
|
26
|
+
"published_date_gte": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Published date >= specified date, format 'YYYY-MM-DD'."
|
|
29
|
+
},
|
|
30
|
+
"published_date_eq": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Published date == specified date, format 'YYYY-MM-DD'."
|
|
33
|
+
},
|
|
34
|
+
"pagesize": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"description": "Number of items per page, maximum 100, default 100.",
|
|
37
|
+
"default": 100
|
|
38
|
+
},
|
|
39
|
+
"page": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"description": "Page number, starts from 1, default 1.",
|
|
42
|
+
"default": 1
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "GetSPLBySetIDTool",
|
|
50
|
+
"name": "DailyMed_get_spl_by_setid",
|
|
51
|
+
"description": "Get complete label corresponding to SPL Set ID, returns content in XML or JSON format.",
|
|
52
|
+
"parameter": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"setid": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "uuid",
|
|
58
|
+
"description": "SPL Set ID to query."
|
|
59
|
+
},
|
|
60
|
+
"format": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": ["xml"],
|
|
63
|
+
"default": "xml",
|
|
64
|
+
"description": "Return format, only supports 'xml'."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": ["setid"]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|