GeezerVison is showing adk.dev — RemoteA2AAgentConfig | ADK for TypeScript: API Reference - v2.5.0
Interface RemoteA2AAgentConfig
Configuration for the A2ARemoteAgent.
Properties
OptionalafterAgentCallback
OptionalafterRequestCallbacks
Callbacks run after receiving a response chunk or event, before conversion.
OptionalagentCard
agentCard?: string | AgentCard
Loaded AgentCard or URL to AgentCard.
OptionalbeforeAgentCallback
OptionalbeforeRequestCallbacks
Callbacks run before the remote request is sent.
Optionalclient
client?: Client
Optional pre-initialized Client for connection pooling.
A provided client sends requests as it is configured, so the default
trace context propagation does not apply to it.
OptionalclientFactory
clientFactory?: ClientFactory
Optional ClientFactory for creating the A2A Client.
Clients from a provided factory send requests as it is configured, so the
default trace context propagation does not apply to them.
Optionaldescription
description?: string
Human-readable description (used when a node is exposed as a tool).
OptionalinputSchema
Optional schema validating the node input (Zod v3/v4 or genai Schema).
OptionalisolationScope
isolationScope?: string | true
Runs this node's subtree in an isolated conversation scope: an agent inside
it sees only session events carrying the same scope, plus untagged ones.
true derives a scope per node run; a string is an explicit shared tag.
OptionalmessageSendConfig
messageSendConfig?: MessageSendConfiguration
Optional default configuration for sending messages.
Optionalmetadata
metadata?: Record<string, unknown>
Optional request-level metadata to include in the A2A message send request.
If omitted, defaults to context.a2aMetadata from the current invocation context.
name
name: string
Canonical, unique-within-a-graph node name.
OptionaloutputSchema
Optional schema validating the node output (Zod v3/v4 or genai Schema).
OptionalrerunOnResume
rerunOnResume?: boolean
If true, the node re-executes when a workflow resumes even if it already
completed in a prior turn. Default false.
OptionalresolveAgentCardOptions
Controls how a fetched agent card's RPC URL(s) are validated against
the location the card was fetched from. Only relevant when
RemoteA2AAgentConfig.agentCard is a URL rather than an
already-loaded card object; see ResolveAgentCardOptions for
what each option relaxes and why both default to failing closed.
OptionalretryConfig
Optional retry configuration for transient failures.
OptionalstateSchema
Optional schema validating relevant session state (Zod v3/v4 or genai Schema).
Optionaltimeout
timeout?: number
Maximum time, in seconds, for this node to complete.
OptionalwaitForOutput
waitForOutput?: boolean
If true, the node only produces its output once all of its predecessors
have triggered it (fan-in / join semantics). Default false.