# Delete agent label

Tool: `veryfront__delete_agent_label`

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

## Arguments

| Name                 | Type                  | Required | Description                                                                                 |
| -------------------- | --------------------- | -------- | ------------------------------------------------------------------------------------------- |
| `project_reference`  | string · min length 1 |          | Project identifier or slug that scopes the tool call.                                       |
| `agent_id`           | string · min length 1 | Yes      | Provide the agent id.                                                                       |
| `source_target_kind` | string \| null        |          | Source target: project, main\_branch, or preview\_branch. Null and omission select project. |
| `target_branch_id`   | string · uuid \| null |          | Provide the target branch id.                                                               |
| `label_id`           | string · uuid         | Yes      | Provide the label id.                                                                       |
| `confirm`            | boolean               |          | Send true to confirm the deletion. A call that sends false is refused and deletes nothing.  |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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_label",
    "arguments": {
      "agent_id": "string",
      "label_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"ok\":true}"
      }
    ],
    "structuredContent": {
      "ok": true
    }
  }
}
```
