@adcp/client API Reference - v3.3.3
    Preparing search index...

    Interface ProtocolRequestEvent

    Protocol request event - emitted when request is sent

    interface ProtocolRequestEvent {
        operationId: string;
        agentId: string;
        contextId?: string;
        taskId?: string;
        taskType: string;
        timestamp: string;
        eventType: "protocol_request";
        protocol: "mcp" | "a2a";
        method: string;
        payload: { params: Record<string, any>; headers?: Record<string, string> };
    }

    Hierarchy (View Summary)

    Index

    Properties

    operationId: string

    Client-generated operation ID - groups related work across multiple agents

    agentId: string

    Agent ID - which agent is handling this

    contextId?: string

    Context ID from server - created by agent on first response

    taskId?: string

    Task ID from server - only present for async operations

    taskType: string

    Task/tool name

    timestamp: string

    Event timestamp

    eventType: "protocol_request"
    protocol: "mcp" | "a2a"
    method: string
    payload: { params: Record<string, any>; headers?: Record<string, string> }