Skip to content

Bedrock Agent Runtime  >  Structures  >  AgentCollaboratorOutputPayload

AgentCollaboratorOutputPayload

Structure Class

AgentCollaboratorOutputPayload dataclass

Output from an agent collaborator. The output can be text or an action invocation result.

Attributes

return_control_payload class-attribute instance-attribute
return_control_payload: ReturnControlPayload | None = field(repr=False, default=None)

An action invocation result.

text class-attribute instance-attribute
text: str | None = field(repr=False, default=None)

Text output.

type class-attribute instance-attribute
type: PayloadType | None = None

The type of output.