create_router
Create routers in Sakura Cloud by specifying zone, name, network prefix length, and bandwidth to establish network infrastructure.
Instructions
さくらのクラウドAPIでルータを作成します
Args: zone (str): 作成対象のゾーン name (str): ルータ名(1-64文字) network_mask_len (int): プレフィックス長(28または27) bandwidth_mbps (int): 帯域幅(100、500、または1000 Mbps) description (str, optional): ルータの説明(最大512文字)
Returns: dict: 作成されたルータのJSONレスポンス - Internet: 作成されたルータ情報 - ID: ルータID - Name: ルータ名 - Description: 説明 - BandWidthMbps: 帯域幅 - NetworkMaskLen: プレフィックス長 - Scope: スコープ - ServiceClass: サービスクラス - CreatedAt: 作成日時 - Zone: ゾーン情報 - Subnets: サブネット情報
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>",
"network_mask_len": "<network_mask_len>",
"bandwidth_mbps": "<bandwidth_mbps>"
},
"name": "create_router"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| name | Yes | ||
| network_mask_len | Yes | ||
| bandwidth_mbps | Yes | ||
| description | No |