Interface ToolCallHookInfo

Info about a tool call before execution. Hooks may return a modified copy or null to skip execution.

interface ToolCallHookInfo {
    name: string;
    args: Record<string, unknown>;
    id: string;
    step: number;
}

Properties

Properties

name: string

Tool name.

args: Record<string, unknown>

Parsed arguments.

id: string

Tool call ID from the LLM.

step: number

Current agentic step index.