ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.4.0
    Preparing search index...

    Type Alias UnrecognizedMethod<Method>Experimental

    UnrecognizedMethod: string extends Method
        ? Method
        : Method extends | AgentRequestMethod
        | AgentNotificationMethod
        | ClientRequestMethod
        | ClientNotificationMethod
        | typeof cancel_request
            ? never
            : Method

    A method name that is not part of the current ACP v2 draft.

    This compatibility type permits methods from older or newer unstable ACP revisions while preventing current built-in method literals from falling through the untyped overloads. Prefer ExtensionMethod for new custom methods.

    Type Parameters

    • Method extends string