# veryfront__create_agent_label

Create agent label. Requires project.agents.write.

Risk: mutating.

## Arguments

| Name                 | Type   | Required | Description                                                                                                                       |
| -------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `agent_id`           | string | Yes      | Provide the agent id.                                                                                                             |
| `source_target_kind` |        |          | Source target: project, main\_branch, or preview\_branch. Null and omission select project.                                       |
| `target_branch_id`   |        |          | Provide the target branch id.                                                                                                     |
| `key`                | string | Yes      | Required label key. Trimmed and lowercased; starts with a letter or number and allows letters, numbers, dot, underscore and dash. |
| `value`              |        |          | Label value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement.         |
| `color`              |        |          | Display color. Omit, use null or supply a blank string to clear it, including on replacement.                                     |
| `project_reference`  | string |          | Project identifier or slug that scopes the tool call.                                                                             |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_agent_label",
    "arguments": {
      "agent_id": "<agent_id>",
      "key": "<key>"
    }
  }
}
```
