ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias ToolCallLocationExperimental

    A file location being accessed or modified by a tool.

    Enables Clients to implement "follow-along" features that track which files the Agent is working with in real-time.

    See protocol docs: Following the Agent

    type ToolCallLocation = {
        path: AbsolutePath;
        line?: number | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    The absolute file path being accessed or modified.

    line?: number | null

    Optional 1-based line number within the file. Omitted and null are equivalent and mean no specific line. 0 is invalid.

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

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility