Rotate private key
rotateIssue a new private key for a live tunnel deploy, invalidating existing links and sessions at once; optionally set an expiry and get the new privateUrl.
Instructions
Issue a new private key for a live tunnel deploy without restarting it: the previous link and all sessions stop working at once. Optionally set an expiry. On a public deploy this turns it private. Returns the new privateUrl.
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": {
"name": "<name>"
},
"name": "rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Deploy name | |
| expires | No | New key lifetime, e.g. "24h" (default: never) |