Class GetExtendedAgentCardRequest
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest<T>
org.a2aproject.sdk.jsonrpc.common.wrappers.NonStreamingJSONRPCRequest<Void>
org.a2aproject.sdk.jsonrpc.common.wrappers.GetExtendedAgentCardRequest
- All Implemented Interfaces:
A2AMessage
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing instances. -
Field Summary
Fields inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
id, jsonrpc, method, paramsFields inherited from interface org.a2aproject.sdk.jsonrpc.common.wrappers.A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionConstructs request with ID only (uses default JSON-RPC version).GetExtendedAgentCardRequest(String jsonrpc, Object id) Constructs request with full parameters. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
getId, getJsonrpc, getMethod, getParams, validateAndSetJsonParameters
-
Constructor Details
-
GetExtendedAgentCardRequest
Constructs request with full parameters.- Parameters:
jsonrpc- the JSON-RPC versionid- the request ID
-
GetExtendedAgentCardRequest
Constructs request with ID only (uses default JSON-RPC version).- Parameters:
id- the request ID
-
-
Method Details
-
builder
Create a new Builder- Returns:
- the builder
-