> [!WARNING]
> This item is deprecated!

Deprecated: Use `google.cloud.aiplatform.master.AgentConfig` in `agentEvalData` instead. Configuration for an Agent.
Fields `agentId` `string` Optional. Unique identifier of the agent. This id is used to refer to this agent, e.g., in AgentEvent.author, or in the `subAgents` field. It must be unique within the `agents` map.
`agentType` `string` Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent.
`description` `string` Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
`subAgents[]` `string` Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the directed edges in the agent system graph topology.
`developerInstruction` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/InstanceData`)`` Optional. Contains instructions from the developer for the agent. Can be static or a dynamic prompt template used with the `AgentEvent.state_delta` field.
`tools_data` `Union type` Data for the tools available to the agent. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `toolsText` `string` A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.
`tools` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/DeprecatedAgentConfig#Tools`)`` List of tools.
End of mutually exclusive fields.

| JSON representation |
|---|
| ``` { "agentId": string, "agentType": string, "description": string, "subAgents": [ string ], "developerInstruction": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/InstanceData`) }, // tools_data "toolsText": string, "tools": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/DeprecatedAgentConfig#Tools`) } // Union type } ``` |

## Tools

Represents a list of tools for an agent.
Fields `tool[]` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/GeminiExample#Tool`)`` Optional. List of tools: each tool can have multiple function declarations.

| JSON representation |
|---|
| ``` { "tool": [ { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/GeminiExample#Tool`) } ] } ``` |