@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface DiagnosisStep

    One step of the diagnosis, in execution order.

    interface DiagnosisStep {
        name:
            | "probe_protected_resource_metadata"
            | "probe_authorization_server_metadata"
            | "decode_current_token"
            | "token_refresh_attempt"
            | "decode_refreshed_token"
            | "list_tools_probe"
            | "tool_call_probe";
        http?: DiagnosisHttpCapture;
        decodedToken?: DecodedAccessToken
        | null;
        notes?: string[];
        error?: string;
    }
    Index

    Properties

    name:
        | "probe_protected_resource_metadata"
        | "probe_authorization_server_metadata"
        | "decode_current_token"
        | "token_refresh_attempt"
        | "decode_refreshed_token"
        | "list_tools_probe"
        | "tool_call_probe"

    Present for HTTP steps.

    decodedToken?: DecodedAccessToken | null

    Present for decode steps. Claims are unverified.

    notes?: string[]

    Free-form notes attached by the step for hypothesis ranking.

    error?: string

    Step-level error (distinct from http.error — set when the step was skipped or could not run).