Create agent

Create agent. Requires project.agents.write.

Arguments

  • idstring · min length 1 · max length 128required

    Unique identifier for the record.

  • namestring · min length 1required

    Human-readable name for the record.

  • descriptionstring | null

    Human-readable description for the record.

  • modelstring | null

    AI model id or alias. Call list_models for the ids this deployment serves; never invent a version suffix.

  • thinkingobject

    The thinking associated with this record.

  • temperaturenumber · min 0 · max 2 | null

    The temperature associated with this record.

  • max_stepsinteger | null

    The max steps associated with this record.

  • allowed_modelsarray of string · min length 1

    AI model ids or aliases the agent may switch between. Call list_models for the accepted ids.

  • skill_idsarray of string · min length 1

    The skill ids associated with this record.

  • skill_selectionobject

    The skill selection associated with this record.

  • skillsboolean | string · min length 1 · max length 128 | array of string · min length 1 · max length 128 | object

    The skills associated with this record.

  • all_tools_enabledboolean

    The all tools enabled associated with this record.

  • tool_idsarray of string · min length 1

    Project 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 | object

    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_loadingstring

    The tool loading associated with this record. One of eager, deferred.

  • tool_result_contextboolean | object

    The 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

    The knowledge associated with this record.

  • provider_tool_idsarray of string · min length 1

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

  • suggestionsarray of string · min length 1 | object | null

    The suggestions associated with this record.

  • avatarobject | null

    The avatar associated with this record.

  • avatar_urlstring · uri | null

    The avatar url associated with this record.

  • security_enabledboolean

    Whether the agent default security guardrails are enabled.

  • project_referencestring

    Project identifier or slug associated with the record.

  • systemstring · min length 1

    Canonical system prompt for the agent. Set this field only.

  • system_promptstring · min length 1

    Compatibility alias for system. Omit this field when system is present.

  • source_target_kindstring

    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_idstring · uuid | null

    Required 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__create_agent",    "arguments": {      "id": "a",      "name": "string",      "system": "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.