RemoteAgentTool(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a tool that allows the agent to call another remote agent.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. The name of the tool. |
description |
str
Required. The description of the tool. |
agent_card |
google.cloud.ces_v1.types.AgentCard
Required. The agent card of the remote agent that this tool invokes. |
api_authentication |
google.cloud.ces_v1.types.ApiAuthentication
Optional. Authentication configuration for calling the remote agent. |
stateful_agent |
bool
Optional. When enabled, the interaction between the CXAS app and the remote agent will share the same context. If the remote agent returns a context_id, it will be persisted for the entirety of the session for this remote agent tool. |
input_variable_mapping |
MutableMapping[str, str]
Optional. Mapping of input variable names of remote agent to GECX variable names. |
output_variable_mapping |
MutableMapping[str, str]
Optional. Mapping of output variable names of remote agent to GECX variable names. |
Classes
InputVariableMappingEntry
InputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
OutputVariableMappingEntry
OutputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |