Interface ToolCall

Source
Expand description

A tool call in the mock response.

interface ToolCall {
    args: Readonly<Record<string, unknown>>;
    id?: string;
    name: string;
}

Properties§

§readonly args: Readonly<Record<string, unknown>>

Arguments to pass to the tool.

§readonly id?: string

Explicit ID for the call. Auto-generated if omitted.

§readonly name: string

Tool function name.