web_search
Search the web to gather country information for creating detailed country profiles with embedded images and verified data.
Instructions
Search the web for information about the given query
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- server.py:14-18 (handler)The web_search tool handler, decorated with @mcp.tool() for registration, performs a web search using TavilyClient.get_search_context() and returns the results.@mcp.tool() def web_search(query: str) -> str: """Search the web for information about the given query""" search_results = client.get_search_context(query=query) return search_results