Agent Client Protocol - v0.12.0
    Preparing search index...

    Type Alias ToolCall

    Represents a tool call that the language model has requested.

    Tool calls are actions that the agent executes on behalf of the language model, such as reading files, executing code, or fetching data from external sources.

    See protocol docs: Tool Calls

    type ToolCall = {
        _meta?: { [key: string]: unknown } | null;
        content?: ToolCallContent[];
        kind?: ToolKind;
        locations?: ToolCallLocation[];
        rawInput?: unknown;
        rawOutput?: unknown;
        status?: ToolCallStatus;
        title: string;
        toolCallId: ToolCallId;
    }
    Index

    Properties

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility

    content?: ToolCallContent[]

    Content produced by the tool call.

    kind?: ToolKind

    The category of tool being invoked. Helps clients choose appropriate icons and UI treatment.

    locations?: ToolCallLocation[]

    File locations affected by this tool call. Enables "follow-along" features in clients.

    rawInput?: unknown

    Raw input parameters sent to the tool.

    rawOutput?: unknown

    Raw output returned by the tool.

    Current execution status of the tool call.

    title: string

    Human-readable title describing what the tool is doing.

    toolCallId: ToolCallId

    Unique identifier for this tool call within the session.