Feature Area
Integration with external tools
Is your feature request related to a an existing bug? Please link it here.
NA
Describe the solution you'd like
I’d like to add a WikipediaSearchTool to the library. It would allow agents to search Wikipedia for specific topics and return a concise summary (e.g., the first 3 sentences).
I plan to use the wikipedia Python library to handle this. It would include basic error handling for:
->Disambiguation: If a search is too broad, the tool can ask for more specifics.
->Page Not Found: Graceful handling if the topic doesn't exist.
Describe alternatives you've considered
Using a general ScrapeWebsiteTool on Wikipedia URLs, but that requires the agent to already know the exact URL, which is less "agentic" than a direct search.
Additional context
I've already drafted the code and a basic test for this tool. I would be very happy to submit a Pull Request to contribute this if the team is interested!
Willingness to Contribute
Yes, I'd be happy to submit a pull request
Feature Area
Integration with external tools
Is your feature request related to a an existing bug? Please link it here.
NA
Describe the solution you'd like
I’d like to add a WikipediaSearchTool to the library. It would allow agents to search Wikipedia for specific topics and return a concise summary (e.g., the first 3 sentences).
I plan to use the wikipedia Python library to handle this. It would include basic error handling for:
->Disambiguation: If a search is too broad, the tool can ask for more specifics.
->Page Not Found: Graceful handling if the topic doesn't exist.
Describe alternatives you've considered
Using a general ScrapeWebsiteTool on Wikipedia URLs, but that requires the agent to already know the exact URL, which is less "agentic" than a direct search.
Additional context
I've already drafted the code and a basic test for this tool. I would be very happy to submit a Pull Request to contribute this if the team is interested!
Willingness to Contribute
Yes, I'd be happy to submit a pull request