Stop using a domain for previews
remove_preview_domainAsks to take the person's own domain off a project's previews: every address under it stops answering, and the previews keep their CodeGene addresses. Owners and admins of the project only. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended. It does not change the domain's DNS records.
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": {
"project_id": "<project_id>",
"domain": "<domain>",
"reason": "<reason>"
},
"name": "remove_preview_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The preview domain to remove, such as preview.acme.com. | |
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| project_id | Yes | The project (list_projects gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |