Agent Client Protocol - v0.5.1
    Preparing search index...

    Interface PromptResponse

    Response from processing a user prompt.

    See protocol docs: Check for Completion

    interface PromptResponse {
        _meta?: { [k: string]: unknown };
        stopReason:
            | "end_turn"
            | "max_tokens"
            | "max_turn_requests"
            | "refusal"
            | "cancelled";
    }
    Index

    Properties

    Properties

    _meta?: { [k: string]: unknown }

    Extension point for implementations

    stopReason:
        | "end_turn"
        | "max_tokens"
        | "max_turn_requests"
        | "refusal"
        | "cancelled"

    Indicates why the agent stopped processing the turn.