rename_site
Rename a site you own. Its free address changes to the new name; the old address keeps working by redirecting to the new one, and the old name stays reserved for this site, so it can be switched back. Pages, history, statistics, custom domains, forms, editors and GitHub publishing all carry over. Confirm the new name with 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": {
"site": "<site>",
"new_name": "<new_name>"
},
"name": "rename_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| new_name | Yes | The new name: 3 to 63 lowercase letters, digits and single hyphens (no dots). The site's free address becomes <new_name>.<sites domain>. |