Tools
Tool Result Caching
Tool result caching is designed to avoid unnecessary recomputation by storing the results of function calls on disk. This is useful during development and testing to speed up the development process, avoid rate limiting, and reduce costs.
Example
Pass cache_results=True
to the Toolkit constructor to enable caching for that Toolkit.
cache_tool_calls.py
Supported Toolkits
DuckDuckGoTools
ExaTools
FirecrawlTools
GoogleSearchtools
HackernewsTools
NewspaperTools
Newspaper4kTools
Websitetools
YFinanceTools