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

    Type Alias ToolCallPermissionSubjectExperimental

    Permission request details for a tool call.

    type ToolCallPermissionSubject = {
        toolCall: ToolCallUpdate;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    toolCall: ToolCallUpdate

    Details about the tool call requiring permission.

    Clients apply this to their stored tool call exactly like a tool_call_update notification, in the order it was received, before showing the prompt. A first-seen toolCallId creates the tool call.

    _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