OptionalclassificationCompact one-liner for the intent classifier prompt.
OptionaldependsTool names that must run before this one.
Description of the tool's purpose.
OptionalexampleNatural language prompts (e.g. 'Where is the Louvre?').
OptionalexamplesUsage examples (e.g. 'geocode("Amsterdam")').
Function that executes the tool. Receives parsed input and the agent's state.
Zod schema defining the tool's input parameters.
OptionaloutputOptional Zod schema describing the tool's structured output.
OptionalrelatedTool names that are often used together with this tool.
OptionaltagsCategory tags (e.g. 'location', 'routing').
A tool definition — the universal format for both built-in and third-party tools. Combines execution (inputSchema + execute) with classifier metadata.