Class GetExtendedAgentCardRequest

All Implemented Interfaces:
A2AMessage

public final class GetExtendedAgentCardRequest extends NonStreamingJSONRPCRequest<Void>
JSON-RPC request to retrieve an agent's extended card with authenticated details.

This request fetches an extended version of the AgentCard that may contain additional information only available to authenticated clients, such as:

  • Additional security scheme details
  • Extended capability information
  • Authenticated-only skills or interfaces
  • Premium or restricted features

The agent must support authenticated extended cards (indicated by AgentCapabilities.extendedAgentCard() }) and the client must provide valid authentication credentials for this request to succeed.

This class implements the JSON-RPC GetExtendedAgentCard method as specified in the A2A Protocol.

See Also:
  • Constructor Details

    • GetExtendedAgentCardRequest

      public GetExtendedAgentCardRequest(String jsonrpc, Object id)
      Constructs request with full parameters.
      Parameters:
      jsonrpc - the JSON-RPC version
      id - the request ID
    • GetExtendedAgentCardRequest

      public GetExtendedAgentCardRequest(String id)
      Constructs request with ID only (uses default JSON-RPC version).
      Parameters:
      id - the request ID
  • Method Details