Resize a server
resizeMove a running server to another plan by planId. A smaller plan is applied on this call (no charge, no refund; the machine reboots, usually within minutes). A larger plan needs the person: this mints an upsize approval, mails the link and returns actionId and approveUrl; the click charges the difference on their saved card (or opens the payment page) and the resize starts.
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": {
"serviceId": "<serviceId>",
"planId": "<planId>"
},
"name": "resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | a plan this server can move to | |
| serviceId | Yes | the id of a service on this account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |