A2APreviewTool interface

An agent implementing the A2A protocol.

Extends

Properties

agent_card_path

The path to the agent card relative to the base_url. If not provided, defaults to /.well-known/agent-card.json

base_url

Base URL of the agent.

project_connection_id

The connection ID in the project for the A2A server. The connection stores authentication and other connection details needed to connect to the A2A server.

send_credentials_for_agent_card

When true, Foundry sends its credentials when fetching the remote agent's Agent Card. The service defaults to false if a value is not specified by the caller (anonymous fetch).

type

The type of the tool. Always "a2a_preview.

Property Details

agent_card_path

The path to the agent card relative to the base_url. If not provided, defaults to /.well-known/agent-card.json

agent_card_path?: string

Property Value

string

base_url

Base URL of the agent.

base_url?: string

Property Value

string

project_connection_id

The connection ID in the project for the A2A server. The connection stores authentication and other connection details needed to connect to the A2A server.

project_connection_id?: string

Property Value

string

send_credentials_for_agent_card

When true, Foundry sends its credentials when fetching the remote agent's Agent Card. The service defaults to false if a value is not specified by the caller (anonymous fetch).

send_credentials_for_agent_card?: boolean

Property Value

boolean

type

The type of the tool. Always "a2a_preview.

type: "a2a_preview"

Property Value

"a2a_preview"