Command Palette
Search for a command to run

Tool Calling

✓ Relevant

Tool calling: define tools with description/inputSchema/execute, pass to generateText/streamText; multi-step calls with stopWhen; dynamic tools for runtime schemas; tool execution options (toolCallId, messages, abortSignal, context); lifecycle hooks (onInputStart/Delta/Available); error handling (NoSuchToolError, InvalidToolInputError); experimental repair and multi-modal results; MCP server integration.