# veryfront__create_domain

Add a custom domain. Requires project.domains.write.

Risk: mutating.

## Arguments

| Name                | Type   | Required | Description                                |
| ------------------- | ------ | -------- | ------------------------------------------ |
| `project_reference` | string |          | Project ID or slug                         |
| `environment_id`    | string | Yes      | Environment ID                             |
| `domain`            | string | Yes      | Custom domain name (e.g., app.example.com) |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_domain",
    "arguments": {
      "environment_id": "<environment_id>",
      "domain": "<domain>"
    }
  }
}
```
