YOUR_TOOL_NAME
Search the web for current information using natural language queries to retrieve up-to-date data from the internet through the Tavily API.
Instructions
YOUR_TOOL_DESCRIPTION
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- server.py:27-30 (handler)The main handler function for the 'YOUR_TOOL_NAME' tool, decorated with @mcp.tool() for registration. It takes a query string and returns a placeholder response.@mcp.tool() def YOUR_TOOL_NAME(query: str) -> str: """YOUR_TOOL_DESCRIPTION""" return "YOUR_TOOL_RESPONSE"
- server.py:27-27 (registration)The @mcp.tool() decorator registers the YOUR_TOOL_NAME tool with the MCP server.@mcp.tool()
- server.py:28-28 (schema)Type hints define the input schema (query: str) and output (str).def YOUR_TOOL_NAME(query: str) -> str: