Skip to main content
PUT
Update agent

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

agent_id
string
required

Agent identifier

Minimum string length: 1

Query Parameters

source_target_kind
string
target_branch_id
string<uuid> | null

Body

application/json
name
string
Minimum string length: 1
description
string | null
model
string | null
system_prompt
string
Minimum string length: 1
thinking
object
temperature
number | null
Required range: 0 <= x <= 2
max_steps
integer | null
allowed_models
string[]
Minimum string length: 1
skill_ids
string[]
Minimum string length: 1
skill_selection
object
skills
all_tools_enabled
boolean
tool_ids
string[]

Project tools, platform tools, and integration catalog tools returned by get_integration. Use exact names from the agent tool references search.

Minimum string length: 1
tools

Callable host-tool selector. Use false to disable all host tools, including skill and delegation tools. An empty array or map selects no project tools but preserves legacy runtime essentials. Provider-native tools use provider_tool_ids.

tool_loading
enum<string>
Available options:
eager,
deferred
tool_result_context
knowledge
provider_tool_ids
string[]

Provider-native model tools only. Never put tool references from tool_ids here.

Minimum string length: 1
suggestions
(string | object)[] | null
Minimum string length: 1
avatar
object | null
avatar_url
string<uri> | null
security_enabled
boolean
id
string
Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9_-]+$

Response

Agent updated

id
string
required
name
string
required
description
string | null
required
model
string | null
required

Model identifier recovered from authored source. Null means no literal identifier was recovered; an omitted model is valid. The run selects and checks its model at admission, so null is not a missing-configuration error or a verified runtime default.

system_prompt
string | null
required
temperature
number | null
required
Required range: 0 <= x <= 2
max_steps
integer | null
required
allowed_models
string[]
required

Agent-level allowlist for request model overrides. Empty means no restriction by this allowlist; project and run model policies still apply. This does not identify the resolved runtime model.

skill_ids
string[]
required

Legacy source-view skill IDs. A read with skill_resolution can include source-catalog matches; a write response can echo only authored IDs. An empty array does not prove that no skills are available, and these IDs do not verify runtime loading. Use skill_selection and skill_resolution for provenance.

skill_selection
object
required

Skill selection. kind is the authored policy: omitted selects all owner-visible skills. Use skill_resolution for resolved source-catalog matches and their evidence scope.

all_tools_enabled
boolean
required

Whether the authored selector allows all tools. False can still select individual tools. Read the raw tools selector and capability resolution for the selected set.

tool_ids
string[]
required

Source-recovered explicit tool IDs. Empty when all_tools_enabled is true, when tools is false (authored deny-all), or when no explicit IDs were recovered, so an empty array alone does not mean callable host tools are disabled. This source view does not verify execution grants.

provider_tool_ids
string[]
required
security_enabled
boolean | null
required

Whether the agent default security guardrails are enabled.

source_path
string
required
source
string
required
edit_mode
enum<string>
required
Available options:
structured,
source_only
source_only_reasons
string[]
required
thinking
object
skill_resolution
object

Skill selector policy and owner-visible source catalog matches. Partial catalogs cannot establish that unreturned skills are absent. This does not verify run execution access.

skills
tools

Callable host-tool selector. Use false to disable all host tools, including skill and delegation tools. An empty array or map selects no project tools but preserves legacy runtime essentials. Provider-native tools use provider_tool_ids.

tool_loading
enum<string>
Available options:
eager,
deferred
tool_result_context
knowledge
suggestions
(string | object)[]
Minimum string length: 1
avatar
object | null
avatar_url
string<uri> | null

Absolute URL for this agent avatar. Null when no custom avatar has been set.