Skip to content

AgentCollaboratorOutputPayload

Structure Class

AgentCollaboratorOutputPayload dataclass

Bases: _SerdeShape

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 = ...

An action invocation result.

text class-attribute instance-attribute
text: str | None = ...

Text output.

type class-attribute instance-attribute
type: str | None = ...

The type of output.