Питание сервера
server_powerControl server power states: start, shutdown, reboot, hard-shutdown, or hard-reboot, with confirmation required for each action.
Instructions
Управление питанием: start | shutdown | reboot | hard-shutdown | hard-reboot. POST /api/v1/servers/{id}/. Требует confirm: true.
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_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Действие | |
| confirm | No | Подтверждение действия | |
| server_id | Yes | ID сервера |