Class A2AClientContext
java.lang.Object
dev.langchain4j.agentic.a2a.A2AClientContext
The A2A client agent an
A2AClientConfigurator is applied to.
New properties may be added in later versions; use builder() to create one, for example in tests.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionorg.a2aproject.sdk.spec.AgentCardClass<?> static A2AClientContext.Builderbuilder()tenant()toString()
-
Method Details
-
a2aServerUrl
- Returns:
- the URL the agent was built with
-
tenant
- Returns:
- the tenant of the request: the tenant of the call for messages, otherwise the agent's configured
tenant;
nullwhen there is none
-
agentName
- Returns:
- the name of the local agent
-
agentInterface
- Returns:
- the interface the agent was built from
-
agentCard
public org.a2aproject.sdk.spec.AgentCard agentCard()- Returns:
- the remote agent's Agent Card, or
nullwhile it is being fetched
-
toString
-
builder
-