# Class AgentTool (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    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}` |