bare_metal_create_bare_metal_server
Deploy a bare metal server in a specified region with a chosen plan, configuring OS, SSH keys, networking, and additional options like IPv6 or DDoS protection.
Instructions
Create a new bare metal server.
Args: region: Region to deploy in plan: Bare metal plan ID os_id: Operating system ID iso_id: ISO ID for custom installation script_id: Startup script ID ssh_key_ids: List of SSH key IDs label: Server label tag: Server tag user_data: Cloud-init user data enable_ipv6: Enable IPv6 enable_private_network: Enable private network attach_private_network: Private network IDs to attach attach_vpc: VPC IDs to attach attach_vpc2: VPC 2.0 IDs to attach enable_ddos_protection: Enable DDoS protection hostname: Server hostname persistent_pxe: Enable persistent PXE
Returns: Created bare metal server details
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": {
"region": "<region>",
"plan": "<plan>"
},
"name": "bare_metal_create_bare_metal_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| plan | Yes | ||
| label | No | ||
| os_id | No | ||
| iso_id | No | ||
| region | Yes | ||
| hostname | No | ||
| script_id | No | ||
| user_data | No | ||
| attach_vpc | No | ||
| attach_vpc2 | No | ||
| enable_ipv6 | No | ||
| ssh_key_ids | No | ||
| persistent_pxe | No | ||
| attach_private_network | No | ||
| enable_ddos_protection | No | ||
| enable_private_network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||