Skip to content

Get Agent Action Group

bedrockagent_get_agent_action_group R Documentation

Gets information about an action group for an agent

Description

Gets information about an action group for an agent.

Usage

bedrockagent_get_agent_action_group(agentId, agentVersion,
  actionGroupId)

Arguments

agentId

[required] The unique identifier of the agent that the action group belongs to.

agentVersion

[required] The version of the agent that the action group belongs to.

actionGroupId

[required] The unique identifier of the action group for which to get information.

Value

A list with the following syntax:

list(
  agentActionGroup = list(
    agentId = "string",
    agentVersion = "string",
    actionGroupId = "string",
    actionGroupName = "string",
    clientToken = "string",
    description = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    parentActionSignature = "AMAZON.UserInput"|"AMAZON.CodeInterpreter"|"ANTHROPIC.Computer"|"ANTHROPIC.Bash"|"ANTHROPIC.TextEditor",
    parentActionGroupSignatureParams = list(
      "string"
    ),
    actionGroupExecutor = list(
      lambda = "string",
      customControl = "RETURN_CONTROL"
    ),
    apiSchema = list(
      s3 = list(
        s3BucketName = "string",
        s3ObjectKey = "string"
      ),
      payload = "string"
    ),
    functionSchema = list(
      functions = list(
        list(
          name = "string",
          description = "string",
          parameters = list(
            list(
              description = "string",
              type = "string"|"number"|"integer"|"boolean"|"array",
              required = TRUE|FALSE
            )
          ),
          requireConfirmation = "ENABLED"|"DISABLED"
        )
      )
    ),
    actionGroupState = "ENABLED"|"DISABLED"
  )
)

Request syntax

svc$get_agent_action_group(
  agentId = "string",
  agentVersion = "string",
  actionGroupId = "string"
)