# Create branch approval

Tool: `veryfront__create_branch_approval`

Approve a branch as the calling user, optionally with a comment. Requires project.files.write.

## Arguments

| Name        | Type          | Required | Description                                                                   |
| ----------- | ------------- | -------- | ----------------------------------------------------------------------------- |
| `branch_id` | string · uuid | Yes      | Branch ID to approve. The approval counts toward the required approval count. |
| `comment`   | string        |          | Optional approval comment                                                     |

## 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__create_branch_approval",
    "arguments": {
      "branch_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

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