interface AgentCreateParams {
    api_version?: string;
    base_agent?: string;
    base_environment?: string | GeminiNextGenAPIClient.Interactions.Environment;
    description?: string;
    id?: string;
    system_instruction?: string;
    tools?: (
        | GeminiNextGenAPIClient.Agents.AgentCreateParams.CodeExecution
        | GeminiNextGenAPIClient.Agents.AgentCreateParams.GoogleSearch
        | GeminiNextGenAPIClient.Agents.AgentCreateParams.URLContext
        | GeminiNextGenAPIClient.Agents.AgentCreateParams.MCPServer
    )[];
}

Properties

api_version?: string

Path param: Which version of the API to use.

base_agent?: string

Body param: The base agent to extend.

base_environment?: string | GeminiNextGenAPIClient.Interactions.Environment

Body param: The environment configuration for the agent.

description?: string

Body param: Agent description for developers to quickly read and understand.

id?: string

Body param: The unique identifier for the agent.

system_instruction?: string

Body param: System instruction for the agent.

Body param: The tools available to the agent.