Loading...
{
"name": "search",
"description": "Search stuff",
"parameters": { "type": "object" }
}{
"name": "search_orders",
"description": "Find a customer's orders by email. Use before answering order questions.",
"parameters": {
"type": "object",
"properties": { "email": { "type": "string", "description": "Customer email" } },
"required": ["email"]
}
}A clear description and a JSON Schema with required fields help the model pick the right tool and pass valid arguments.
No. It returns the tool name and arguments; your code runs the function and sends the result back.
Many APIs support parallel tool calls in one response. Return each result with its matching call id.
Tool calling is the model's ability to request functions. MCP is an open protocol that exposes tools from servers so many apps can reuse them.