create_server
Create a Sakura Cloud server with specified CPU, memory, and generation, then automatically provision a disk for it. Select from available server plans during setup.
Instructions
さくらのクラウドAPIからサーバを作成します 作成時は、サーバープラン一覧を取得し、CPU,メモリ数を参照しユーザに使用プランを選択させてください サーバ作成後、ディスクも作成してください
Args: zone (str): 作成対象ゾーン name (str): VM名(1-61文字) description (str): VMの説明(最大512文字) cpu (int): CPU数 mem (int): メモリ容量 gen (int): サーバの世代
Returns: dict: サーバ一覧のJSONレスポンス
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>",
"name": "<name>",
"description": "<description>",
"cpu": "<cpu>",
"mem": "<mem>",
"gen": "<gen>"
},
"name": "create_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| name | Yes | ||
| description | Yes | ||
| cpu | Yes | ||
| mem | Yes | ||
| gen | Yes |