server_action
Start, stop, reboot, pause, unpause, lock, or unlock a Nova server. Disruptive actions require confirm=true to protect the guest.
Instructions
Start, stop, reboot, pause, unpause, lock, or unlock a Nova server.
Service: Nova (compute). Mutates state. stop, reboot, pause, and lock require confirm=true because they disrupt the guest. start, unpause, and unlock do not require confirm. reboot_type is SOFT or HARD. Rebuilding a server is a separate tool: rebuild_server.
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": {
"server_id": "<server_id>",
"action": "<action>"
},
"name": "server_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirm | No | ||
| server_id | Yes | ||
| reboot_type | No | SOFT | |
| locked_reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||