Skip to contents

Prints the R handle (tool_*), the function_name the model sees, and the description of every built-in Tool exported by the package. Derived at call time from the namespace — no hardcoded list.

Usage

available_tools()

Value

Invisibly, a named list of Tool objects keyed by their R handle.

Author

EDG

Examples

available_tools()
#> 
#>   Built-in tools:
#> 
#>   - tool_arxiv (function_name: query_arxiv)
#>       Search arXiv.org for academic papers in physics, mathematics, computer science, quantitative biology, quantitative finance, statistics, electrical engineering, systems science, and economics.
#> 
#>   - tool_datetime (function_name: get_current_datetime)
#>       Get the current date and time in ISO format.
#> 
#>   - tool_duckduckgo_ia (function_name: query_duckduckgo_ia)
#>       Search DuckDuckGo Instant Answer API.  Use single-word queries for best results. Some queries may not return any results.
#> 
#>   - tool_semanticscholar (function_name: query_semanticscholar)
#>       Search Semantic Scholar for academic papers across science, technology, medicine, social sciences, and humanities.
#> 
#>   - tool_wikipedia (function_name: query_wikipedia)
#>       Search Wikipedia for articles and return either the introduction or the full article text. Useful for retrieving factual information from Wikipedia. One strategy is to get multiple articles' introduction first and then refine the search to get the full text of the most relevant article.
#>