Skip to content

Get Agent Card

bedrockagentcore_get_agent_card R Documentation

Retrieves the A2A agent card associated with an AgentCore Runtime agent

Description

Retrieves the A2A agent card associated with an AgentCore Runtime agent.

Usage

bedrockagentcore_get_agent_card(runtimeSessionId, agentRuntimeArn,
  qualifier)

Arguments

runtimeSessionId

The session ID that the AgentCore Runtime agent is using.

agentRuntimeArn

[required] The ARN of the AgentCore Runtime agent for which you want to get the A2A agent card.

qualifier

Optional qualifier to specify an agent alias, such as prodcode\> or dev. If you don't provide a value, the DEFAULT alias is used.

Value

A list with the following syntax:

list(
  runtimeSessionId = "string",
  agentCard = list(),
  statusCode = 123
)

Request syntax

svc$get_agent_card(
  runtimeSessionId = "string",
  agentRuntimeArn = "string",
  qualifier = "string"
)