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

    Type Alias AgentHandlerContext<Params>Experimental

    Common context passed to agent-side handlers.

    type AgentHandlerContext<Params> = {
        params: Params;
        signal: AbortSignal;
        client: AgentContext;
    }

    Type Parameters

    • Params
    Index
    params: Params

    Parsed request or notification params.

    signal: AbortSignal

    AbortSignal for the current request, or the connection signal for notifications.

    client: AgentContext

    Typed client context for calling client-side ACP methods.