Create agent. Requires project.agents.write.
Risk: mutating.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier for the record. |
name | string | Yes | Human-readable name for the record. |
description | string,null | Human-readable description for the record. | |
model | string,null | AI model id or alias. Call list_models for the ids this deployment serves; never invent a version suffix. | |
thinking | object | The thinking associated with this record. | |
temperature | The temperature associated with this record. | ||
max_steps | The max steps associated with this record. | ||
allowed_models | array | AI model ids or aliases the agent may switch between. Call list_models for the accepted ids. | |
skill_ids | array | The skill ids associated with this record. | |
skill_selection | object | The skill selection associated with this record. | |
skills | The skills associated with this record. | ||
all_tools_enabled | boolean | The all tools enabled associated with this record. | |
tool_ids | array | Project tools, platform tools, and integration catalog tools returned by get_integration. Use exact names from the agent tool references search. | |
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 | string | The tool loading associated with this record. | |
tool_result_context | The tool result context associated with this record. | ||
knowledge | The knowledge associated with this record. | ||
provider_tool_ids | array | Provider-native model tools only. Never put tool references from tool_ids here. | |
suggestions | The suggestions associated with this record. | ||
avatar | The avatar associated with this record. | ||
avatar_url | The avatar url associated with this record. | ||
security_enabled | boolean | Whether the agent default security guardrails are enabled. | |
project_reference | string | Project identifier or slug associated with the record. | |
system | string | Canonical system prompt for the agent. Set this field only. | |
system_prompt | string | Compatibility alias for system. Omit this field when system is present. | |
source_target_kind | string | Write 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_id | Required for preview_branch. Omit or use null for project and main_branch. Use a branch ID returned by project branch discovery. |
Call it
JSON
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_agent",7 "arguments": {8 "id": "<id>",9 "name": "<name>"10 }11 }12}