Skip to content

Associate Agent Collaborator

bedrockagent_associate_agent_collaborator R Documentation

Makes an agent a collaborator for another agent

Description

Makes an agent a collaborator for another agent.

Usage

bedrockagent_associate_agent_collaborator(agentDescriptor, agentId,
  agentVersion, clientToken, collaborationInstruction, collaboratorName,
  relayConversationHistory)

Arguments

agentDescriptor

[required] The alias of the collaborator agent.

agentId

[required] The agent's ID.

agentVersion

[required] An agent version.

clientToken

A client token.

collaborationInstruction

[required] Instruction for the collaborator.

collaboratorName

[required] A name for the collaborator.

relayConversationHistory

A relay conversation history for the collaborator.

Value

A list with the following syntax:

list(
  agentCollaborator = list(
    agentDescriptor = list(
      aliasArn = "string"
    ),
    agentId = "string",
    agentVersion = "string",
    clientToken = "string",
    collaborationInstruction = "string",
    collaboratorId = "string",
    collaboratorName = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    relayConversationHistory = "TO_COLLABORATOR"|"DISABLED"
  )
)

Request syntax

svc$associate_agent_collaborator(
  agentDescriptor = list(
    aliasArn = "string"
  ),
  agentId = "string",
  agentVersion = "string",
  clientToken = "string",
  collaborationInstruction = "string",
  collaboratorName = "string",
  relayConversationHistory = "TO_COLLABORATOR"|"DISABLED"
)