Agent Client Protocol - v0.12.0
    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 = {
        _meta?: { [key: string]: unknown } | null;
        options: PermissionOption[];
        sessionId: SessionId;
        toolCall: ToolCallUpdate;
    }
    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

    options: PermissionOption[]

    Available permission options for the user to choose from.

    sessionId: SessionId

    The session ID for this request.

    toolCall: ToolCallUpdate

    Details about the tool call requiring permission.