Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias RequestPermissionRequest

    Request for user permission to execute a tool call.

    Sent when the agent needs authorization before performing a sensitive operation.

    See protocol docs: Requesting Permission

    type RequestPermissionRequest = {
        sessionId: SessionId;
        toolCall: ToolCallUpdate;
        options: PermissionOption[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The session ID for this request.

    toolCall: ToolCallUpdate

    Details about the tool call requiring permission.

    options: PermissionOption[]

    Available permission options for the user to choose from.

    _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