add_project_domain
Attach a domain to a Vercel project. Optionally set a redirect or bind to a specific git branch.
Instructions
Attach a domain to a project. Optionally set a redirect or assign it to a specific git branch.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"name": "<name>"
},
"name": "add_project_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id or name. | |
| name | Yes | Domain to attach, e.g. www.example.com. | |
| gitBranch | No | Bind to a preview git branch. | |
| redirect | No | Redirect target domain. | |
| redirectStatusCode | No | 301/302/307/308. | |
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |