AgentTool(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a tool that allows the agent to call another agent.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. The name of the agent tool. |
description |
str
Optional. Description of the tool's purpose. |
root_agent |
str
Optional. Deprecated: Use agent instead. The resource
name of the root agent that is the entry point of the tool.
Format:
projects/{project}/locations/{location}/agents/{agent}
|
agent |
str
Optional. The resource name of the agent that is the entry point of the tool. Format: projects/{project}/locations/{location}/agents/{agent}
|