The model field on an Agent accepts two equivalent shapes:
String shorthand: the model ID, for example "ultimate".
Object form: an object with id and optional tuning fields.
Field
Type
Required
Description
id
string
Yes
Model identifier. Use List models to discover available values
effort
string
No
Reasoning effort level. Valid values: none, low, medium, high, xhigh, max. See the model’s efforts array in List models for the levels a given model advertises
context_window
integer
No
Desired context window in tokens (positive integer). Choose from the model’s available_context_windows in List models
Responses echo whichever shape was submitted: string requests return model as a string, object requests return model as an object with the tuning fields preserved. Version snapshots (GET /api/v1/cloud/agents/{agent_id}?version=N) return the same shape.Session responses embed the Agent with an additional read-only effective_context_window inside agent.model; see Session schemas.
Built-in tool allowlist. A non-empty array is a strict allowlist. Omit it or pass [] to use the default built-in toolset, with disallowed_tools and configs[].enabled still applied. Values must use one of the built-in tool names below
disallowed_tools
array of string
agent_toolset_20260401
Built-in tools to hide and deny. Values must use one of the built-in tool names below. A tool cannot appear in both enabled_tools and disallowed_tools
Per-tool enablement and permission rules. This is where per-tool permissions are configured
mcp_server_name
string
mcp_toolset
Required. Must match one mcp_servers[].name value
name
string
custom
Required custom tool name. It must not collide with a built-in tool name and must not start with mcp__
description
string
custom
Required custom tool description
input_schema
object
custom
Required JSON Schema object. input_schema.type must be "object"
Custom tools do not support permission_policy; configure permissions through configs[].permission_policy on agent_toolset_20260401 or mcp_toolset entries.
Used in the Agent’s multiagent field to configure the Agents capability. When set, coordinator control tools (create_agent, send_to_agent, list_agents, Agent) are automatically injected at runtime.
When using multiagent, the tools array must include an agent_toolset_20260401 type entry.