teardown_service
Removes a service's proxy host for a domain and, optionally, its DNS record. Shows the exact teardown plan before applying changes.
Instructions
Reverse expose_service: delete the proxy host for domain (found by name unless proxy_host_id is given) and, if dns_record_id is given, that DNS record. The exact plan is shown to the person first.
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": {
"domain": "<domain>"
},
"name": "teardown_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| dry_run | No | ||
| dns_zone_id | No | ||
| dns_record_id | No | ||
| proxy_host_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| errors | No | ||
| dry_run | No | ||
| planned | No | ||
| success | No | ||
| approved_by | No | ||
| steps_completed | No |