A tool the model may call — honored only when features.tools.

interface ToolDef {
    description?: string;
    inputSchema: Record<string, unknown>;
    name: string;
}

Properties

description?: string
inputSchema: Record<string, unknown>

JSON-Schema for the tool's arguments.

name: string