tooluniverse.unified_guideline_tools module¶
Unified Guideline Tools Consolidated clinical guidelines search tools from multiple sources.
- class tooluniverse.unified_guideline_tools.NICEWebScrapingTool[source]¶
Bases:
BaseTool
Real NICE guidelines search using web scraping. Makes actual HTTP requests to NICE website and parses HTML responses.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.PubMedGuidelinesTool[source]¶
Bases:
BaseTool
Search PubMed for clinical practice guidelines. Uses NCBI E-utilities with guideline publication type filter.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.EuropePMCGuidelinesTool[source]¶
Bases:
BaseTool
Search Europe PMC for clinical guidelines. Europe PMC provides access to life science literature including guidelines.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.TRIPDatabaseTool[source]¶
Bases:
BaseTool
Search TRIP Database (Turning Research into Practice). Specialized evidence-based medicine database with clinical guidelines filter.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.WHOGuidelinesTool[source]¶
Bases:
BaseTool
WHO (World Health Organization) Guidelines Search Tool. Searches WHO official guidelines from their publications website.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.OpenAlexGuidelinesTool[source]¶
Bases:
BaseTool
OpenAlex Guidelines Search Tool. Specialized tool for searching clinical practice guidelines using OpenAlex API.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.NICEGuidelineFullTextTool[source]¶
Bases:
BaseTool
Fetch full text content from NICE guideline pages. Takes a NICE guideline URL and extracts the complete guideline content.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.WHOGuidelineFullTextTool[source]¶
Bases:
BaseTool
Fetch full text content from WHO guideline pages. Takes a WHO publication URL and extracts content or PDF download link.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.GINGuidelinesTool[source]¶
Bases:
BaseTool
Guidelines International Network (GIN) Guidelines Search Tool. Searches the global guidelines database with 6400+ guidelines from various organizations.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.
- class tooluniverse.unified_guideline_tools.CMAGuidelinesTool[source]¶
Bases:
BaseTool
Canadian Medical Association (CMA) Infobase Guidelines Search Tool. Searches the CMA Infobase with 1200+ Canadian clinical practice guidelines.
- run(arguments)[source]¶
Execute the tool.
The default BaseTool implementation accepts an optional arguments mapping to align with most concrete tool implementations which expect a dictionary of inputs.
- Parameters:
arguments (
dict, optional
) – Tool-specific argumentsstream_callback (
callable, optional
) – Callback for streaming responsesuse_cache (
bool, optional
) – Whether result caching is enabledvalidate (
bool, optional
) – Whether parameter validation was performed
Note
These additional parameters (stream_callback, use_cache, validate) are passed from run_one_function() to provide context about the execution. Tools can use these for optimization or special handling.
For backward compatibility, tools that don’t accept these parameters will still work - they will only receive the arguments parameter.