get_server_power_status
Check the current power status of a Sakura Cloud server to monitor its operational state and verify if it's running or stopped.
Instructions
さくらのクラウドAPIからサーバーの電源状態を取得します
Args: zone (str): 対象ゾーン server_id (str): サーバーID
Returns: dict: 電源状態のJSONレスポンス - Instance: 電源状態情報 - Server: サーバー情報 - ID: サーバーID - Status: 現在の電源状態 ("up" または "down") - BeforeStatus: 以前の電源状態 - StatusChangedAt: 状態変更日時 - is_ok: 処理結果
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": {
"zone": "<zone>",
"server_id": "<server_id>"
},
"name": "get_server_power_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| server_id | Yes |