feat(tavily): add map tool #4105
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces the new
TavilyMapToolto the CrewAI toolkit, enabling agents to map website structures using the Tavily API. It adds the tool's implementation, documentation, and multilingual usage guides, and integrates the tool into the codebase and documentation navigation.New Tool Implementation and Integration:
TavilyMapToolimplementation increwai_tools.tools.tavily_map_tool.tavily_map_tool, and registered it in bothcrewai_tools/__init__.pyandcrewai_tools/tools/__init__.pyfor import and availability in the toolkit. [1] [2] [3] [4]Documentation:
TavilyMapTool, including usage instructions, configuration options, features, response format, use cases, and a comparison withTavilyCrawlToolindocs/en/tools/search-research/tavilymaptool.mdxand a dedicated README in the tool directory. [1] [2]TavilyMapToolin Korean and Brazilian Portuguese, ensuring accessibility for non-English users. [1] [2]Documentation Navigation Updates:
TavilyMapToolin the tool selection cards, making it discoverable in the docs navigation. [1] [2] [3]Note
Introduces
TavilyMapToolto map website structures via the Tavily API, with sync/async support, configuration options, and multilingual docs plus nav updates.TavilyMapTool(crewai_tools.tools.tavily_map_tool.tavily_map_tool): maps site structure using Tavily API with sync/async clients, runtime params (url,max_depth,instructions,allow_external), and init-time filters/limits.crewai_tools/__init__.pyandtools/__init__.py.docs/en|ko|pt-BR/tools/search-research/tavilymaptool.mdxwith installation, usage, config, features, response, and use cases.Tavily Map Toolcard in EN/KO/PT-BR.Written by Cursor Bugbot for commit c4b2be8. This will update automatically on new commits. Configure here.