Request an approval
request_actionMint an approval for a money or irreversible step. kind: cancel (renewal off, the service runs to the end of the paid period), cancel-now (off the air now), delete (remove a finished or failed project), restore (a backup point over the live WordPress site: backupStamp is its stamp; scope db, files or both, default both), root-reset (a bare server) or wp-reset (a moved WordPress site, or one whose move failed, back to a fresh WordPress; the site is copied first when one was live). Nothing changes until the person clicks the approval link, which is also mailed to them and expires after one hour. Returns actionId and approveUrl.
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": {
"kind": "<kind>",
"serviceId": "<serviceId>"
},
"name": "request_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| scope | No | ||
| serviceId | Yes | the id of a service on this account | |
| backupStamp | No | restore: the stamp of a backup point |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |