AI Tools · Class
AgentExecutor
AI SDK tools give models actions they can call. A tool defines its input schema, model-facing description, and execution logic, then works with supported text-generation or agent APIs.
Last updated
Syntax
createTool({ description, parameters, execute })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
generateTextstreamTextToolLoopAgentexperimental_createBashToolExperimental_SandboxSessionTools and Tool Calling