Class AgentTemplateCreateParams.Builder
java.lang.Object
com.google.genai.gaos.models.agents.AgentTemplateCreateParams.Builder
- Enclosing class:
- AgentTemplateCreateParams
-
Method Summary
Modifier and TypeMethodDescriptionagentConfig(AgentConfig agentConfig) Configuration parameters for the agent.The base agent to extend.build()description(String description) Template description for developers.environment(Environment environment) Configuration for a custom environment.Input only.User-provided ID on create (e.g.systemInstruction(String systemInstruction) System instruction for the agent template.The tools available to agents created from this template.
-
Method Details
-
agentConfig
Configuration parameters for the agent. -
baseAgent
The base agent to extend. -
description
Template description for developers. -
environment
Configuration for a custom environment. -
fromAgent
Input only. ID of an existing agent to create the template from. The new template version snapshots the agent's configuration (`base_agent`, `agent_config`, `system_instruction`, `tools`) and its `.agents/` directory, but not `/workspace` or credentials. Only valid on create; returns NOT_FOUND if the agent does not exist. -
id
User-provided ID on create (e.g. "video-agent"); returned with version suffix (e.g. "video-agent@v1"). -
systemInstruction
System instruction for the agent template. -
tools
The tools available to agents created from this template. -
build
-