assign_alias
Assign a hostname alias to a deployment, pointing a custom URL at it. Optionally set a redirect.
Instructions
Assign an alias (hostname) to a deployment — points the custom URL at that deployment.
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": {
"deploymentId": "<deploymentId>",
"alias": "<alias>"
},
"name": "assign_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deploymentId | Yes | Deployment id (dpl_...) to alias. | |
| alias | Yes | Hostname to assign, e.g. app.example.com. | |
| redirect | No | Optional redirect target. | |
| 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). |