set_subdomain
Rename a project's generated address (subdomain) before the platform domain; the old address stops working. Preview first, then confirm to apply.
Instructions
Rename the project's generated address (the part before the platform domain). The old address stops working. The first call only returns a preview; call again with confirm=true once the user agrees.
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>",
"subdomain": "<subdomain>"
},
"name": "set_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subdomain | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |