Agent Client Protocol - v0.28.1
    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 = {
        toolCallId: ToolCallId;
        title: string;
        kind?: ToolKind;
        status?: ToolCallStatus;
        content?: ToolCallContent[];
        locations?: ToolCallLocation[];
        rawInput?: unknown;
        rawOutput?: unknown;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Properties

    toolCallId: ToolCallId

    Unique identifier for this tool call within the session.

    title: string

    Human-readable title describing what the tool is doing.

    kind?: ToolKind

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

    Current execution status of the tool call.

    content?: ToolCallContent[]

    Content produced by the tool call.

    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.

    _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