Agent Client Protocol - v1.4.0
    Preparing search index...

    Class AgentContext

    Context passed to agent-side handlers.

    Agents use this context to call client-side ACP methods while handling requests such as session/prompt.

    Hierarchy

    • AcpContext
      • AgentContext
    Index
    • get requestId(): JsonRpcId | undefined

      JSON-RPC id of the request currently being handled.

      This is undefined for notification handlers and for contexts created outside an inbound request, such as connect(...) and connectWith(...).

      Returns JsonRpcId | undefined