Update agent. Requires project.agents.write.
Arguments
namestring · min length 1Human-readable name for the record.
descriptionstring | nullHuman-readable description for the record.
modelstring | nullAI model id or alias. Call list_models for the ids this deployment serves; never invent a version suffix.
thinkingobjectThe thinking associated with this record.
temperaturenumber · min 0 · max 2 | nullThe temperature associated with this record.
max_stepsinteger | nullThe max steps associated with this record.
allowed_modelsarray of string · min length 1AI model ids or aliases the agent may switch between. Call list_models for the accepted ids.
skill_idsarray of string · min length 1The skill ids associated with this record.
skill_selectionobjectThe skill selection associated with this record.
skillsboolean | string · min length 1 · max length 128 | array of string · min length 1 · max length 128 | objectThe skills associated with this record.
all_tools_enabledbooleanThe all tools enabled associated with this record.
tool_idsarray of string · min length 1Project tools, platform tools, and integration catalog tools returned by get_integration. Use exact names from the agent tool references search.
toolsboolean | array of string · min length 1 · max length 128 | objectCallable 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_loadingstringThe tool loading associated with this record. One of
eager,deferred.tool_result_contextboolean | objectThe tool result context associated with this record.
knowledgeboolean | string · min length 1 · max length 4096 | array of string · min length 1 · max length 4096 | object | nullThe knowledge associated with this record.
provider_tool_idsarray of string · min length 1Provider-native model tools only. Never put tool references from tool_ids here.
suggestionsarray of string · min length 1 | object | nullThe suggestions associated with this record.
avatarobject | nullThe avatar associated with this record.
avatar_urlstring · uri | nullThe avatar url associated with this record.
security_enabledbooleanWhether the agent default security guardrails are enabled.
idstring · min length 1 · max length 128Unique identifier for the record.
agent_idstring · min length 1requiredThe agent id associated with this record.
str_replaceobjectReplace one exact occurrence in the current system prompt. Do not combine with system or system_prompt.
project_referencestringProject identifier or slug associated with the record.
systemstring · min length 1Canonical system prompt for the agent. Set this field only.
system_promptstring · min length 1Compatibility alias for system. Omit this field when system is present.
source_target_kindstringWrite authored agent source in project or preview_branch. Omit for project; main_branch is a compatibility alias for project. Environment and release writes are unsupported.
target_branch_idstring · uuid | nullRequired for preview_branch. Omit or use null for project and main_branch. Use a branch ID returned by project branch discovery.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__update_agent", "arguments": { "agent_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"model\":\"string\",\"system_prompt\":\"string\",\"thinking\":{\"enabled\":false,\"budget_tokens\":1},\"temperature\":0,\"max_steps\":1,\"allowed_models\":[\"string\"],\"skill_ids\":[\"string\"],\"skill_selection\":{\"kind\":\"omitted\",\"skill_ids\":[\"string\"]},\"skill_resolution\":{\"policy\":{\"kind\":\"all-visible\",\"source\":\"omitted\"},\"skill_ids\":[\"string\"],\"source_paths\":{},\"unresolved_entry_indexes\":[0],\"catalog_status\":\"complete\",\"evidence_scope\":\"source_catalog\"},\"skills\":false,\"all_tools_enabled\":false,\"tool_ids\":[\"string\"],\"tools\":false,\"tool_loading\":\"eager\",\"tool_result_context\":false,\"provider_tool_ids\":[\"string\"],\"knowledge\":false,\"suggestions\":[\"string\"],\"avatar\":{\"seed\":\"string\",\"archetype\":\"upright\",\"texture\":\"string\",\"color\":\"#000000\",\"shape\":\"snircle\",\"matrix\":\"0000000000000000\"},\"avatar_url\":\"string\",\"security_enabled\":false,\"source_path\":\"string\",\"source\":\"string\",\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}" } ], "structuredContent": { "id": "string", "name": "string", "description": "string", "model": "string", "system_prompt": "string", "thinking": { "enabled": false, "budget_tokens": 1 }, "temperature": 0, "max_steps": 1, "allowed_models": [ "string" ], "skill_ids": [ "string" ], "skill_selection": { "kind": "omitted", "skill_ids": [ "string" ] }, "skill_resolution": { "policy": { "kind": "all-visible", "source": "omitted" }, "skill_ids": [ "string" ], "source_paths": {}, "unresolved_entry_indexes": [0], "catalog_status": "complete", "evidence_scope": "source_catalog" }, "skills": false, "all_tools_enabled": false, "tool_ids": [ "string" ], "tools": false, "tool_loading": "eager", "tool_result_context": false, "provider_tool_ids": [ "string" ], "knowledge": false, "suggestions": [ "string" ], "avatar": { "seed": "string", "archetype": "upright", "texture": "string", "color": "#000000", "shape": "snircle", "matrix": "0000000000000000" }, "avatar_url": "string", "security_enabled": false, "source_path": "string", "source": "string", "edit_mode": "structured", "source_only_reasons": [ "string" ] } }}The tool ran; its output is result.structuredContent.