update_origin
Change the target URL for an existing custom domain when a site is redeployed, so traffic routes to the new deployment.
Instructions
Change the origin/target URL for an existing domain.
Use this when the user redeploys their site to a new URL and wants the custom domain to point to the new location.
Args: provision_id: The provision_id of the domain to update new_origin_url: The new URL to route traffic to (e.g., "https://new-deploy.vercel.app")
Returns: status: Current domain status updated_at: Timestamp of the update
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": {
"provision_id": "<provision_id>",
"new_origin_url": "<new_origin_url>"
},
"name": "update_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provision_id | Yes | ||
| new_origin_url | Yes |