GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — RemoteA2AAgentConfig | ADK for TypeScript: API Reference - v2.5.0

  • RemoteA2AAgentConfig

Interface RemoteA2AAgentConfig

Configuration for the A2ARemoteAgent.

interface RemoteA2AAgentConfig {
    afterAgentCallback?: AfterAgentCallback;
    afterRequestCallbacks?: AfterA2ARequestCallback[];
    agentCard?: string | AgentCard;
    beforeAgentCallback?: BeforeAgentCallback;
    beforeRequestCallbacks?: BeforeA2ARequestCallback[];
    client?: Client;
    clientFactory?: ClientFactory;
    description?: string;
    inputSchema?: SchemaLike;
    isolationScope?: string | true;
    messageSendConfig?: MessageSendConfiguration;
    metadata?: Record<string, unknown>;
    name: string;
    outputSchema?: SchemaLike;
    parentAgent?: BaseAgent<BaseAgentConfig>;
    rerunOnResume?: boolean;
    resolveAgentCardOptions?: ResolveAgentCardOptions;
    retryConfig?: RetryConfig;
    stateSchema?: SchemaLike;
    subAgents?: BaseAgent<BaseAgentConfig>[];
    timeout?: number;
    waitForOutput?: boolean;
}

Hierarchy (View Summary)

  • BaseAgentConfig
    • RemoteA2AAgentConfig
  • Defined in core/src/a2a/a2a_remote_agent.ts:86

Properties

OptionalafterAgentCallback

afterAgentCallback?: AfterAgentCallback

Inherited from BaseAgentConfig.afterAgentCallback

  • Defined in core/src/agents/base_agent.ts:52

OptionalafterRequestCallbacks

afterRequestCallbacks?: AfterA2ARequestCallback[]

Callbacks run after receiving a response chunk or event, before conversion.

  • Defined in core/src/a2a/a2a_remote_agent.ts:127

OptionalagentCard

agentCard?: string | AgentCard

Loaded AgentCard or URL to AgentCard.

  • Defined in core/src/a2a/a2a_remote_agent.ts:90

OptionalbeforeAgentCallback

beforeAgentCallback?: BeforeAgentCallback

Inherited from BaseAgentConfig.beforeAgentCallback

  • Defined in core/src/agents/base_agent.ts:51

OptionalbeforeRequestCallbacks

beforeRequestCallbacks?: BeforeA2ARequestCallback[]

Callbacks run before the remote request is sent.

  • Defined in core/src/a2a/a2a_remote_agent.ts:123

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.

  • Defined in core/src/a2a/a2a_remote_agent.ts:107

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.

  • Defined in core/src/a2a/a2a_remote_agent.ts:115

Optionaldescription

description?: string

Human-readable description (used when a node is exposed as a tool).

Inherited from BaseAgentConfig.description

  • Defined in core/src/agents/base_agent.ts:48

OptionalinputSchema

inputSchema?: SchemaLike

Optional schema validating the node input (Zod v3/v4 or genai Schema).

Inherited from BaseAgentConfig.inputSchema

  • Defined in core/src/workflow/base_node.ts:62

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.

Inherited from BaseAgentConfig.isolationScope

  • Defined in core/src/workflow/base_node.ts:75

OptionalmessageSendConfig

messageSendConfig?: MessageSendConfiguration

Optional default configuration for sending messages.

  • Defined in core/src/a2a/a2a_remote_agent.ts:119

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.

  • Defined in core/src/a2a/a2a_remote_agent.ts:132

name

name: string

Canonical, unique-within-a-graph node name.

Inherited from BaseAgentConfig.name

  • Defined in core/src/agents/base_agent.ts:47

OptionaloutputSchema

outputSchema?: SchemaLike

Optional schema validating the node output (Zod v3/v4 or genai Schema).

Inherited from BaseAgentConfig.outputSchema

  • Defined in core/src/workflow/base_node.ts:65

OptionalparentAgent

parentAgent?: BaseAgent<BaseAgentConfig>

Inherited from BaseAgentConfig.parentAgent

  • Defined in core/src/agents/base_agent.ts:49

OptionalrerunOnResume

rerunOnResume?: boolean

If true, the node re-executes when a workflow resumes even if it already completed in a prior turn. Default false.

Inherited from BaseAgentConfig.rerunOnResume

  • Defined in core/src/workflow/base_node.ts:47

OptionalresolveAgentCardOptions

resolveAgentCardOptions?: ResolveAgentCardOptions

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.

  • Defined in core/src/a2a/a2a_remote_agent.ts:99

OptionalretryConfig

retryConfig?: RetryConfig

Optional retry configuration for transient failures.

Inherited from BaseAgentConfig.retryConfig

  • Defined in core/src/workflow/base_node.ts:56

OptionalstateSchema

stateSchema?: SchemaLike

Optional schema validating relevant session state (Zod v3/v4 or genai Schema).

Inherited from BaseAgentConfig.stateSchema

  • Defined in core/src/workflow/base_node.ts:68

OptionalsubAgents

subAgents?: BaseAgent<BaseAgentConfig>[]

Inherited from BaseAgentConfig.subAgents

  • Defined in core/src/agents/base_agent.ts:50

Optionaltimeout

timeout?: number

Maximum time, in seconds, for this node to complete.

Inherited from BaseAgentConfig.timeout

  • Defined in core/src/workflow/base_node.ts:59

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.

Inherited from BaseAgentConfig.waitForOutput

  • Defined in core/src/workflow/base_node.ts:53
Properties
afterAgentCallbackafterRequestCallbacksagentCardbeforeAgentCallbackbeforeRequestCallbacksclientclientFactorydescriptioninputSchemaisolationScopemessageSendConfigmetadatanameoutputSchemaparentAgentrerunOnResumeresolveAgentCardOptionsretryConfigstateSchemasubAgentstimeoutwaitForOutput
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.