associate_agent_collaborator¶
Operation¶
associate_agent_collaborator
async
¶
associate_agent_collaborator(input: AssociateAgentCollaboratorInput, plugins: list[Plugin] | None = None) -> AssociateAgentCollaboratorOutput
Makes an agent a collaborator for another agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
AssociateAgentCollaboratorInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
AssociateAgentCollaboratorOutput
|
An instance of |
Input¶
AssociateAgentCollaboratorInput
dataclass
¶
Dataclass for AssociateAgentCollaboratorInput structure.
Attributes¶
agent_descriptor
class-attribute
instance-attribute
¶
agent_descriptor: AgentDescriptor | None = None
The alias of the collaborator agent.
agent_version
class-attribute
instance-attribute
¶
agent_version: str | None = None
An agent version.
collaboration_instruction
class-attribute
instance-attribute
¶
Instruction for the collaborator.
Output¶
AssociateAgentCollaboratorOutput
dataclass
¶
Dataclass for AssociateAgentCollaboratorOutput structure.
Attributes¶
agent_collaborator
instance-attribute
¶
agent_collaborator: AgentCollaborator
Details about the collaborator.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.