tooluniverse 1.0.11.2__py3-none-any.whl → 1.0.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tooluniverse might be problematic. Click here for more details.

Files changed (58) hide show
  1. tooluniverse/build_optimizer.py +115 -22
  2. tooluniverse/data/encode_tools.json +139 -0
  3. tooluniverse/data/gbif_tools.json +152 -0
  4. tooluniverse/data/gdc_tools.json +116 -0
  5. tooluniverse/data/gtex_tools.json +116 -0
  6. tooluniverse/data/icgc_tools.json +0 -0
  7. tooluniverse/data/mgnify_tools.json +121 -0
  8. tooluniverse/data/obis_tools.json +122 -0
  9. tooluniverse/data/optimizer_tools.json +275 -0
  10. tooluniverse/data/rnacentral_tools.json +99 -0
  11. tooluniverse/data/smolagent_tools.json +206 -0
  12. tooluniverse/data/wikipathways_tools.json +106 -0
  13. tooluniverse/default_config.py +12 -0
  14. tooluniverse/encode_tool.py +245 -0
  15. tooluniverse/execute_function.py +46 -8
  16. tooluniverse/gbif_tool.py +166 -0
  17. tooluniverse/gdc_tool.py +175 -0
  18. tooluniverse/generate_tools.py +121 -9
  19. tooluniverse/gtex_tool.py +168 -0
  20. tooluniverse/mgnify_tool.py +181 -0
  21. tooluniverse/obis_tool.py +185 -0
  22. tooluniverse/pypi_package_inspector_tool.py +3 -2
  23. tooluniverse/rnacentral_tool.py +124 -0
  24. tooluniverse/smcp_server.py +1 -1
  25. tooluniverse/smolagent_tool.py +555 -0
  26. tooluniverse/tools/ArgumentDescriptionOptimizer.py +55 -0
  27. tooluniverse/tools/ENCODE_list_files.py +59 -0
  28. tooluniverse/tools/ENCODE_search_experiments.py +67 -0
  29. tooluniverse/tools/GBIF_search_occurrences.py +67 -0
  30. tooluniverse/tools/GBIF_search_species.py +55 -0
  31. tooluniverse/tools/GDC_list_files.py +55 -0
  32. tooluniverse/tools/GDC_search_cases.py +55 -0
  33. tooluniverse/tools/GTEx_get_expression_summary.py +49 -0
  34. tooluniverse/tools/GTEx_query_eqtl.py +59 -0
  35. tooluniverse/tools/MGnify_list_analyses.py +52 -0
  36. tooluniverse/tools/MGnify_search_studies.py +55 -0
  37. tooluniverse/tools/OBIS_search_occurrences.py +59 -0
  38. tooluniverse/tools/OBIS_search_taxa.py +52 -0
  39. tooluniverse/tools/RNAcentral_get_by_accession.py +46 -0
  40. tooluniverse/tools/RNAcentral_search.py +52 -0
  41. tooluniverse/tools/TestCaseGenerator.py +46 -0
  42. tooluniverse/tools/ToolDescriptionOptimizer.py +67 -0
  43. tooluniverse/tools/ToolDiscover.py +4 -0
  44. tooluniverse/tools/UniProt_search.py +17 -44
  45. tooluniverse/tools/WikiPathways_get_pathway.py +52 -0
  46. tooluniverse/tools/WikiPathways_search.py +52 -0
  47. tooluniverse/tools/__init__.py +43 -1
  48. tooluniverse/tools/advanced_literature_search_agent.py +46 -0
  49. tooluniverse/tools/alphafold_get_annotations.py +4 -10
  50. tooluniverse/tools/download_binary_file.py +3 -6
  51. tooluniverse/tools/open_deep_research_agent.py +46 -0
  52. tooluniverse/wikipathways_tool.py +122 -0
  53. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/METADATA +3 -1
  54. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/RECORD +58 -17
  55. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/WHEEL +0 -0
  56. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/entry_points.txt +0 -0
  57. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/licenses/LICENSE +0 -0
  58. {tooluniverse-1.0.11.2.dist-info → tooluniverse-1.0.12.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,52 @@
1
+ """
2
+ RNAcentral_search
3
+
4
+ Search aggregated ncRNA records (miRNA, rRNA, lncRNA, etc.) across sources via RNAcentral. Use to...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def RNAcentral_search(
12
+ query: str,
13
+ page_size: Optional[int] = 10,
14
+ *,
15
+ stream_callback: Optional[Callable[[str], None]] = None,
16
+ use_cache: bool = False,
17
+ validate: bool = True,
18
+ ) -> dict[str, Any]:
19
+ """
20
+ Search aggregated ncRNA records (miRNA, rRNA, lncRNA, etc.) across sources via RNAcentral. Use to...
21
+
22
+ Parameters
23
+ ----------
24
+ query : str
25
+ Keyword, accession, or sequence-based query (per RNAcentral API).
26
+ page_size : int
27
+ Number of records per page (1–100).
28
+ stream_callback : Callable, optional
29
+ Callback for streaming output
30
+ use_cache : bool, default False
31
+ Enable caching
32
+ validate : bool, default True
33
+ Validate parameters
34
+
35
+ Returns
36
+ -------
37
+ dict[str, Any]
38
+ """
39
+ # Handle mutable defaults to avoid B006 linting error
40
+
41
+ return get_shared_client().run_one_function(
42
+ {
43
+ "name": "RNAcentral_search",
44
+ "arguments": {"query": query, "page_size": page_size},
45
+ },
46
+ stream_callback=stream_callback,
47
+ use_cache=use_cache,
48
+ validate=validate,
49
+ )
50
+
51
+
52
+ __all__ = ["RNAcentral_search"]
@@ -0,0 +1,46 @@
1
+ """
2
+ TestCaseGenerator
3
+
4
+ Generates diverse and representative ToolUniverse tool call dictionaries for a given tool based o...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def TestCaseGenerator(
12
+ tool_config: dict[str, Any],
13
+ *,
14
+ stream_callback: Optional[Callable[[str], None]] = None,
15
+ use_cache: bool = False,
16
+ validate: bool = True,
17
+ ) -> dict[str, Any]:
18
+ """
19
+ Generates diverse and representative ToolUniverse tool call dictionaries for a given tool based o...
20
+
21
+ Parameters
22
+ ----------
23
+ tool_config : dict[str, Any]
24
+ The full configuration of the tool to generate test cases for. May include '_...
25
+ stream_callback : Callable, optional
26
+ Callback for streaming output
27
+ use_cache : bool, default False
28
+ Enable caching
29
+ validate : bool, default True
30
+ Validate parameters
31
+
32
+ Returns
33
+ -------
34
+ dict[str, Any]
35
+ """
36
+ # Handle mutable defaults to avoid B006 linting error
37
+
38
+ return get_shared_client().run_one_function(
39
+ {"name": "TestCaseGenerator", "arguments": {"tool_config": tool_config}},
40
+ stream_callback=stream_callback,
41
+ use_cache=use_cache,
42
+ validate=validate,
43
+ )
44
+
45
+
46
+ __all__ = ["TestCaseGenerator"]
@@ -0,0 +1,67 @@
1
+ """
2
+ ToolDescriptionOptimizer
3
+
4
+ Optimizes a tool's description and parameter descriptions by generating test cases, executing the...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def ToolDescriptionOptimizer(
12
+ tool_config: dict[str, Any],
13
+ save_to_file: bool,
14
+ output_file: str,
15
+ max_iterations: int,
16
+ satisfaction_threshold: float,
17
+ *,
18
+ stream_callback: Optional[Callable[[str], None]] = None,
19
+ use_cache: bool = False,
20
+ validate: bool = True,
21
+ ) -> dict[str, Any]:
22
+ """
23
+ Optimizes a tool's description and parameter descriptions by generating test cases, executing the...
24
+
25
+ Parameters
26
+ ----------
27
+ tool_config : dict[str, Any]
28
+ The full configuration of the tool to optimize.
29
+ save_to_file : bool
30
+ If true, save the optimized description to a file (do not overwrite the origi...
31
+ output_file : str
32
+ Optional file path to save the optimized description. If not provided, use '<...
33
+ max_iterations : int
34
+ Maximum number of optimization rounds to perform.
35
+ satisfaction_threshold : float
36
+ Quality score threshold (1-10) to consider optimization satisfactory.
37
+ stream_callback : Callable, optional
38
+ Callback for streaming output
39
+ use_cache : bool, default False
40
+ Enable caching
41
+ validate : bool, default True
42
+ Validate parameters
43
+
44
+ Returns
45
+ -------
46
+ dict[str, Any]
47
+ """
48
+ # Handle mutable defaults to avoid B006 linting error
49
+
50
+ return get_shared_client().run_one_function(
51
+ {
52
+ "name": "ToolDescriptionOptimizer",
53
+ "arguments": {
54
+ "tool_config": tool_config,
55
+ "save_to_file": save_to_file,
56
+ "output_file": output_file,
57
+ "max_iterations": max_iterations,
58
+ "satisfaction_threshold": satisfaction_threshold,
59
+ },
60
+ },
61
+ stream_callback=stream_callback,
62
+ use_cache=use_cache,
63
+ validate=validate,
64
+ )
65
+
66
+
67
+ __all__ = ["ToolDescriptionOptimizer"]
@@ -13,6 +13,7 @@ def ToolDiscover(
13
13
  max_iterations: Optional[int] = 2,
14
14
  save_to_file: Optional[bool] = True,
15
15
  output_file: Optional[str] = None,
16
+ save_dir: Optional[str] = None,
16
17
  *,
17
18
  stream_callback: Optional[Callable[[str], None]] = None,
18
19
  use_cache: bool = False,
@@ -31,6 +32,8 @@ def ToolDiscover(
31
32
  Whether to save the generated tool files
32
33
  output_file : str
33
34
  Optional file path to save the generated tool
35
+ save_dir : str
36
+ Directory path to save the generated tool files (defaults to current working ...
34
37
  stream_callback : Callable, optional
35
38
  Callback for streaming output
36
39
  use_cache : bool, default False
@@ -52,6 +55,7 @@ def ToolDiscover(
52
55
  "max_iterations": max_iterations,
53
56
  "save_to_file": save_to_file,
54
57
  "output_file": output_file,
58
+ "save_dir": save_dir,
55
59
  },
56
60
  },
57
61
  stream_callback=stream_callback,
@@ -1,9 +1,7 @@
1
1
  """
2
2
  UniProt_search
3
3
 
4
- Search UniProtKB database using flexible query syntax.
5
- Supports gene names (e.g., 'gene:TP53'), protein names,
6
- organism filters, and complex queries.
4
+ Search UniProtKB database with flexible query syntax. Returns protein entries with accession numb...
7
5
  """
8
6
 
9
7
  from typing import Any, Optional, Callable
@@ -14,49 +12,32 @@ def UniProt_search(
14
12
  query: str,
15
13
  organism: Optional[str] = None,
16
14
  limit: Optional[int] = None,
17
- fields: Optional[list[Any]] = None,
18
15
  min_length: Optional[int] = None,
19
16
  max_length: Optional[int] = None,
17
+ fields: Optional[list[Any]] = None,
20
18
  *,
21
19
  stream_callback: Optional[Callable[[str], None]] = None,
22
20
  use_cache: bool = False,
23
21
  validate: bool = True,
24
22
  ) -> Any:
25
23
  """
26
- Search UniProtKB database with flexible query syntax.
27
-
28
- Search UniProtKB and return protein entries. Supports field searches,
29
- ranges, wildcards, boolean operators, and parentheses for grouping.
24
+ Search UniProtKB database with flexible query syntax. Returns protein entries with accession numb...
30
25
 
31
26
  Parameters
32
27
  ----------
33
28
  query : str
34
- Search query. Examples:
35
- - Simple: 'MEIOB', 'insulin'
36
- - Field: 'gene:TP53', 'organism_id:9606', 'reviewed:true'
37
- - Range: 'length:[100 TO 500]', 'mass:[20000 TO 50000]'
38
- - Wildcard: 'gene:MEIOB*'
39
- - Boolean: 'gene:TP53 AND organism_id:9606'
40
- - Grouped: '(organism_id:9606 OR organism_id:10090) AND
41
- gene:TP53'
42
- organism : str, optional
43
- Organism filter. Use 'human', 'mouse', 'rat', 'yeast' or
44
- taxonomy ID like '9606'. Combined with query using AND.
45
- limit : int, optional
46
- Maximum results to return (default: 25, max: 500).
47
- Accepts string or integer.
48
- fields : list[str], optional
49
- Field names to return. When specified, returns raw API response.
50
- Common: accession, id, gene_names, gene_primary, protein_name,
51
- organism_name, organism_id, length, mass, sequence, reviewed,
52
- cc_function.
53
- Default: formatted response with accession, id, protein_name,
54
- gene_names, organism, length.
55
- min_length : int, optional
56
- Minimum sequence length. Converts to 'length:[min TO *]'.
57
- max_length : int, optional
58
- Maximum sequence length. Converts to 'length:[* TO max]'.
59
- stream_callback : callable, optional
29
+ Search query using UniProt syntax. Simple: 'MEIOB', 'insulin'. Field searches...
30
+ organism : str
31
+ Optional organism filter. Use common names ('human', 'mouse', 'rat', 'yeast')...
32
+ limit : int
33
+ Maximum number of results to return (default: 25, max: 500). Accepts string o...
34
+ min_length : int
35
+ Minimum sequence length. Auto-converts to 'length:[min TO *]' range query.
36
+ max_length : int
37
+ Maximum sequence length. Auto-converts to 'length:[* TO max]' range query.
38
+ fields : list[Any]
39
+ List of field names to return (e.g., ['accession','gene_primary','length','or...
40
+ stream_callback : Callable, optional
60
41
  Callback for streaming output
61
42
  use_cache : bool, default False
62
43
  Enable caching
@@ -65,15 +46,7 @@ def UniProt_search(
65
46
 
66
47
  Returns
67
48
  -------
68
- dict
69
- Search results with total_results, returned count, and results
70
- list
71
-
72
- Examples
73
- --------
74
- >>> UniProt_search("gene:TP53", organism="human", limit=5)
75
- >>> UniProt_search("insulin", fields=['accession', 'length'])
76
- >>> UniProt_search("gene:MEIOB", min_length=400, max_length=500)
49
+ Any
77
50
  """
78
51
  # Handle mutable defaults to avoid B006 linting error
79
52
 
@@ -84,9 +57,9 @@ def UniProt_search(
84
57
  "query": query,
85
58
  "organism": organism,
86
59
  "limit": limit,
87
- "fields": fields,
88
60
  "min_length": min_length,
89
61
  "max_length": max_length,
62
+ "fields": fields,
90
63
  },
91
64
  },
92
65
  stream_callback=stream_callback,
@@ -0,0 +1,52 @@
1
+ """
2
+ WikiPathways_get_pathway
3
+
4
+ Fetch pathway content by WPID (JSON/GPML). Use to programmatically access pathway nodes/edges/met...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def WikiPathways_get_pathway(
12
+ wpid: str,
13
+ format: Optional[str] = "json",
14
+ *,
15
+ stream_callback: Optional[Callable[[str], None]] = None,
16
+ use_cache: bool = False,
17
+ validate: bool = True,
18
+ ) -> dict[str, Any]:
19
+ """
20
+ Fetch pathway content by WPID (JSON/GPML). Use to programmatically access pathway nodes/edges/met...
21
+
22
+ Parameters
23
+ ----------
24
+ wpid : str
25
+ WikiPathways identifier (e.g., 'WP254').
26
+ format : str
27
+ Response format: 'json' for structured, 'gpml' for GPML XML.
28
+ stream_callback : Callable, optional
29
+ Callback for streaming output
30
+ use_cache : bool, default False
31
+ Enable caching
32
+ validate : bool, default True
33
+ Validate parameters
34
+
35
+ Returns
36
+ -------
37
+ dict[str, Any]
38
+ """
39
+ # Handle mutable defaults to avoid B006 linting error
40
+
41
+ return get_shared_client().run_one_function(
42
+ {
43
+ "name": "WikiPathways_get_pathway",
44
+ "arguments": {"wpid": wpid, "format": format},
45
+ },
46
+ stream_callback=stream_callback,
47
+ use_cache=use_cache,
48
+ validate=validate,
49
+ )
50
+
51
+
52
+ __all__ = ["WikiPathways_get_pathway"]
@@ -0,0 +1,52 @@
1
+ """
2
+ WikiPathways_search
3
+
4
+ Text search across community-curated pathways (disease, metabolic, signaling). Use to discover re...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def WikiPathways_search(
12
+ query: str,
13
+ organism: Optional[str] = None,
14
+ *,
15
+ stream_callback: Optional[Callable[[str], None]] = None,
16
+ use_cache: bool = False,
17
+ validate: bool = True,
18
+ ) -> dict[str, Any]:
19
+ """
20
+ Text search across community-curated pathways (disease, metabolic, signaling). Use to discover re...
21
+
22
+ Parameters
23
+ ----------
24
+ query : str
25
+ Free-text query (keywords, gene symbols, processes), e.g., 'p53', 'glycolysis'.
26
+ organism : str
27
+ Organism filter (scientific name), e.g., 'Homo sapiens'.
28
+ stream_callback : Callable, optional
29
+ Callback for streaming output
30
+ use_cache : bool, default False
31
+ Enable caching
32
+ validate : bool, default True
33
+ Validate parameters
34
+
35
+ Returns
36
+ -------
37
+ dict[str, Any]
38
+ """
39
+ # Handle mutable defaults to avoid B006 linting error
40
+
41
+ return get_shared_client().run_one_function(
42
+ {
43
+ "name": "WikiPathways_search",
44
+ "arguments": {"query": query, "organism": organism},
45
+ },
46
+ stream_callback=stream_callback,
47
+ use_cache=use_cache,
48
+ validate=validate,
49
+ )
50
+
51
+
52
+ __all__ = ["WikiPathways_search"]
@@ -1,7 +1,7 @@
1
1
  """
2
2
  ToolUniverse Tools
3
3
 
4
- Type-safe Python interface to 713 scientific tools.
4
+ Type-safe Python interface to 734 scientific tools.
5
5
  Each tool is in its own module for minimal import overhead.
6
6
 
7
7
  Usage:
@@ -42,6 +42,7 @@ from .AdverseEventPredictionQuestionGeneratorWithContext import (
42
42
  AdverseEventPredictionQuestionGeneratorWithContext,
43
43
  )
44
44
  from .ArXiv_search_papers import ArXiv_search_papers
45
+ from .ArgumentDescriptionOptimizer import ArgumentDescriptionOptimizer
45
46
  from .BLAST_nucleotide_search import BLAST_nucleotide_search
46
47
  from .BLAST_protein_search import BLAST_protein_search
47
48
  from .BioRxiv_search_preprints import BioRxiv_search_preprints
@@ -68,6 +69,8 @@ from .DrugInteractionAnalyzerAgent import DrugInteractionAnalyzerAgent
68
69
  from .DrugOptimizationAgent import DrugOptimizationAgent
69
70
  from .DrugSafetyAnalyzer import DrugSafetyAnalyzer
70
71
  from .EMDB_get_structure import EMDB_get_structure
72
+ from .ENCODE_list_files import ENCODE_list_files
73
+ from .ENCODE_search_experiments import ENCODE_search_experiments
71
74
  from .EthicalComplianceReviewer import EthicalComplianceReviewer
72
75
  from .EuropePMC_Guidelines_Search import EuropePMC_Guidelines_Search
73
76
  from .EuropePMC_search_articles import EuropePMC_search_articles
@@ -449,12 +452,18 @@ from .FDA_retrieve_patient_medication_info_by_drug_name import (
449
452
  )
450
453
  from .Fatcat_search_scholar import Fatcat_search_scholar
451
454
  from .Finish import Finish
455
+ from .GBIF_search_occurrences import GBIF_search_occurrences
456
+ from .GBIF_search_species import GBIF_search_species
457
+ from .GDC_list_files import GDC_list_files
458
+ from .GDC_search_cases import GDC_search_cases
452
459
  from .GIN_Guidelines_Search import GIN_Guidelines_Search
453
460
  from .GO_get_annotations_for_gene import GO_get_annotations_for_gene
454
461
  from .GO_get_genes_for_term import GO_get_genes_for_term
455
462
  from .GO_get_term_by_id import GO_get_term_by_id
456
463
  from .GO_get_term_details import GO_get_term_details
457
464
  from .GO_search_terms import GO_search_terms
465
+ from .GTEx_get_expression_summary import GTEx_get_expression_summary
466
+ from .GTEx_query_eqtl import GTEx_query_eqtl
458
467
  from .GWAS_search_associations_by_gene import GWAS_search_associations_by_gene
459
468
  from .GtoPdb_get_targets import GtoPdb_get_targets
460
469
  from .HAL_search_archive import HAL_search_archive
@@ -490,6 +499,8 @@ from .LabelGenerator import LabelGenerator
490
499
  from .LiteratureContextReviewer import LiteratureContextReviewer
491
500
  from .LiteratureSearchTool import LiteratureSearchTool
492
501
  from .LiteratureSynthesisAgent import LiteratureSynthesisAgent
502
+ from .MGnify_list_analyses import MGnify_list_analyses
503
+ from .MGnify_search_studies import MGnify_search_studies
493
504
  from .MPD_get_phenotype_data import MPD_get_phenotype_data
494
505
  from .MedRxiv_search_preprints import MedRxiv_search_preprints
495
506
  from .MedicalLiteratureReviewer import MedicalLiteratureReviewer
@@ -505,6 +516,8 @@ from .MethodologyRigorReviewer import MethodologyRigorReviewer
505
516
  from .NICE_Clinical_Guidelines_Search import NICE_Clinical_Guidelines_Search
506
517
  from .NICE_Guideline_Full_Text import NICE_Guideline_Full_Text
507
518
  from .NoveltySignificanceReviewer import NoveltySignificanceReviewer
519
+ from .OBIS_search_occurrences import OBIS_search_occurrences
520
+ from .OBIS_search_taxa import OBIS_search_taxa
508
521
  from .OSF_search_preprints import OSF_search_preprints
509
522
  from .OSL_get_efo_id_by_disease_name import OSL_get_efo_id_by_disease_name
510
523
  from .OpenAIRE_search_publications import OpenAIRE_search_publications
@@ -698,6 +711,8 @@ from .PubTator3_EntityAutocomplete import PubTator3_EntityAutocomplete
698
711
  from .PubTator3_LiteratureSearch import PubTator3_LiteratureSearch
699
712
  from .PyPIPackageInspector import PyPIPackageInspector
700
713
  from .QuestionRephraser import QuestionRephraser
714
+ from .RNAcentral_get_by_accession import RNAcentral_get_by_accession
715
+ from .RNAcentral_search import RNAcentral_search
701
716
  from .ReMap_get_transcription_factor_binding import (
702
717
  ReMap_get_transcription_factor_binding,
703
718
  )
@@ -710,8 +725,10 @@ from .SCREEN_get_regulatory_elements import SCREEN_get_regulatory_elements
710
725
  from .ScientificTextSummarizer import ScientificTextSummarizer
711
726
  from .SemanticScholar_search_papers import SemanticScholar_search_papers
712
727
  from .TRIP_Database_Guidelines_Search import TRIP_Database_Guidelines_Search
728
+ from .TestCaseGenerator import TestCaseGenerator
713
729
  from .TestResultsAnalyzer import TestResultsAnalyzer
714
730
  from .ToolCompatibilityAnalyzer import ToolCompatibilityAnalyzer
731
+ from .ToolDescriptionOptimizer import ToolDescriptionOptimizer
715
732
  from .ToolDiscover import ToolDiscover
716
733
  from .ToolGraphComposer import ToolGraphComposer
717
734
  from .ToolGraphGenerationPipeline import ToolGraphGenerationPipeline
@@ -751,11 +768,14 @@ from .UnifiedToolGenerator import UnifiedToolGenerator
751
768
  from .Unpaywall_check_oa_status import Unpaywall_check_oa_status
752
769
  from .WHO_Guideline_Full_Text import WHO_Guideline_Full_Text
753
770
  from .WHO_Guidelines_Search import WHO_Guidelines_Search
771
+ from .WikiPathways_get_pathway import WikiPathways_get_pathway
772
+ from .WikiPathways_search import WikiPathways_search
754
773
  from .Wikidata_SPARQL_query import Wikidata_SPARQL_query
755
774
  from .WoRMS_search_species import WoRMS_search_species
756
775
  from .WritingPresentationReviewer import WritingPresentationReviewer
757
776
  from .XMLToolOptimizer import XMLToolOptimizer
758
777
  from .Zenodo_search_records import Zenodo_search_records
778
+ from .advanced_literature_search_agent import advanced_literature_search_agent
759
779
  from .alphafold_get_annotations import alphafold_get_annotations
760
780
  from .alphafold_get_prediction import alphafold_get_prediction
761
781
  from .alphafold_get_summary import alphafold_get_summary
@@ -1128,6 +1148,7 @@ from .ols_get_term_children import ols_get_term_children
1128
1148
  from .ols_get_term_info import ols_get_term_info
1129
1149
  from .ols_search_ontologies import ols_search_ontologies
1130
1150
  from .ols_search_terms import ols_search_terms
1151
+ from .open_deep_research_agent import open_deep_research_agent
1131
1152
  from .openalex_literature_search import openalex_literature_search
1132
1153
  from .python_code_executor import python_code_executor
1133
1154
  from .python_script_runner import python_script_runner
@@ -1157,6 +1178,7 @@ __all__ = [
1157
1178
  "AdverseEventPredictionQuestionGenerator",
1158
1179
  "AdverseEventPredictionQuestionGeneratorWithContext",
1159
1180
  "ArXiv_search_papers",
1181
+ "ArgumentDescriptionOptimizer",
1160
1182
  "BLAST_nucleotide_search",
1161
1183
  "BLAST_protein_search",
1162
1184
  "BioRxiv_search_preprints",
@@ -1183,6 +1205,8 @@ __all__ = [
1183
1205
  "DrugOptimizationAgent",
1184
1206
  "DrugSafetyAnalyzer",
1185
1207
  "EMDB_get_structure",
1208
+ "ENCODE_list_files",
1209
+ "ENCODE_search_experiments",
1186
1210
  "EthicalComplianceReviewer",
1187
1211
  "EuropePMC_Guidelines_Search",
1188
1212
  "EuropePMC_search_articles",
@@ -1360,12 +1384,18 @@ __all__ = [
1360
1384
  "FDA_retrieve_patient_medication_info_by_drug_name",
1361
1385
  "Fatcat_search_scholar",
1362
1386
  "Finish",
1387
+ "GBIF_search_occurrences",
1388
+ "GBIF_search_species",
1389
+ "GDC_list_files",
1390
+ "GDC_search_cases",
1363
1391
  "GIN_Guidelines_Search",
1364
1392
  "GO_get_annotations_for_gene",
1365
1393
  "GO_get_genes_for_term",
1366
1394
  "GO_get_term_by_id",
1367
1395
  "GO_get_term_details",
1368
1396
  "GO_search_terms",
1397
+ "GTEx_get_expression_summary",
1398
+ "GTEx_query_eqtl",
1369
1399
  "GWAS_search_associations_by_gene",
1370
1400
  "GtoPdb_get_targets",
1371
1401
  "HAL_search_archive",
@@ -1391,6 +1421,8 @@ __all__ = [
1391
1421
  "LiteratureContextReviewer",
1392
1422
  "LiteratureSearchTool",
1393
1423
  "LiteratureSynthesisAgent",
1424
+ "MGnify_list_analyses",
1425
+ "MGnify_search_studies",
1394
1426
  "MPD_get_phenotype_data",
1395
1427
  "MedRxiv_search_preprints",
1396
1428
  "MedicalLiteratureReviewer",
@@ -1404,6 +1436,8 @@ __all__ = [
1404
1436
  "NICE_Clinical_Guidelines_Search",
1405
1437
  "NICE_Guideline_Full_Text",
1406
1438
  "NoveltySignificanceReviewer",
1439
+ "OBIS_search_occurrences",
1440
+ "OBIS_search_taxa",
1407
1441
  "OSF_search_preprints",
1408
1442
  "OSL_get_efo_id_by_disease_name",
1409
1443
  "OpenAIRE_search_publications",
@@ -1485,6 +1519,8 @@ __all__ = [
1485
1519
  "PubTator3_LiteratureSearch",
1486
1520
  "PyPIPackageInspector",
1487
1521
  "QuestionRephraser",
1522
+ "RNAcentral_get_by_accession",
1523
+ "RNAcentral_search",
1488
1524
  "ReMap_get_transcription_factor_binding",
1489
1525
  "Reactome_get_pathway_reactions",
1490
1526
  "ReferenceInfoAnalyzer",
@@ -1495,8 +1531,10 @@ __all__ = [
1495
1531
  "ScientificTextSummarizer",
1496
1532
  "SemanticScholar_search_papers",
1497
1533
  "TRIP_Database_Guidelines_Search",
1534
+ "TestCaseGenerator",
1498
1535
  "TestResultsAnalyzer",
1499
1536
  "ToolCompatibilityAnalyzer",
1537
+ "ToolDescriptionOptimizer",
1500
1538
  "ToolDiscover",
1501
1539
  "ToolGraphComposer",
1502
1540
  "ToolGraphGenerationPipeline",
@@ -1526,11 +1564,14 @@ __all__ = [
1526
1564
  "Unpaywall_check_oa_status",
1527
1565
  "WHO_Guideline_Full_Text",
1528
1566
  "WHO_Guidelines_Search",
1567
+ "WikiPathways_get_pathway",
1568
+ "WikiPathways_search",
1529
1569
  "Wikidata_SPARQL_query",
1530
1570
  "WoRMS_search_species",
1531
1571
  "WritingPresentationReviewer",
1532
1572
  "XMLToolOptimizer",
1533
1573
  "Zenodo_search_records",
1574
+ "advanced_literature_search_agent",
1534
1575
  "alphafold_get_annotations",
1535
1576
  "alphafold_get_prediction",
1536
1577
  "alphafold_get_summary",
@@ -1845,6 +1886,7 @@ __all__ = [
1845
1886
  "ols_get_term_info",
1846
1887
  "ols_search_ontologies",
1847
1888
  "ols_search_terms",
1889
+ "open_deep_research_agent",
1848
1890
  "openalex_literature_search",
1849
1891
  "python_code_executor",
1850
1892
  "python_script_runner",
@@ -0,0 +1,46 @@
1
+ """
2
+ advanced_literature_search_agent
3
+
4
+ Advanced multi-agent literature search system. Required pipeline: (1) query_planner must produce ...
5
+ """
6
+
7
+ from typing import Any, Optional, Callable
8
+ from ._shared_client import get_shared_client
9
+
10
+
11
+ def advanced_literature_search_agent(
12
+ query: str,
13
+ *,
14
+ stream_callback: Optional[Callable[[str], None]] = None,
15
+ use_cache: bool = False,
16
+ validate: bool = True,
17
+ ) -> Any:
18
+ """
19
+ Advanced multi-agent literature search system. Required pipeline: (1) query_planner must produce ...
20
+
21
+ Parameters
22
+ ----------
23
+ query : str
24
+ Research query or topic to search in academic literature. The agent will auto...
25
+ stream_callback : Callable, optional
26
+ Callback for streaming output
27
+ use_cache : bool, default False
28
+ Enable caching
29
+ validate : bool, default True
30
+ Validate parameters
31
+
32
+ Returns
33
+ -------
34
+ Any
35
+ """
36
+ # Handle mutable defaults to avoid B006 linting error
37
+
38
+ return get_shared_client().run_one_function(
39
+ {"name": "advanced_literature_search_agent", "arguments": {"query": query}},
40
+ stream_callback=stream_callback,
41
+ use_cache=use_cache,
42
+ validate=validate,
43
+ )
44
+
45
+
46
+ __all__ = ["advanced_literature_search_agent"]