Delete agent

Delete agent. Requires project.agents.write; API keys also need delete scope.

Arguments

  • project_referencestring

    Project identifier or slug associated with the record.

  • agent_idstring · min length 1required

    The agent id associated with this record.

  • confirmboolean

    Send true to confirm the deletion. A call that sends false is refused and deletes nothing.

  • 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__delete_agent",    "arguments": {      "agent_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"ok\":true}"      }    ],    "structuredContent": {      "ok": true    }  }}

The tool ran; its output is result.structuredContent.