cloud_deploy_machine
Deploy a Machine (VPS or GPU) paid from Cloud credits. Needs a key with the "spend" permission, max_usd and idempotency_key. See plans and prices with cloud_list_plans.
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": {
"computeApiKey": "<computeApiKey>",
"plan": "<plan>",
"region": "<region>",
"prepaid_hours": "<prepaid_hours>",
"max_usd": "<max_usd>",
"idempotency_key": "<idempotency_key>"
},
"name": "cloud_deploy_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan id from cloud_list_plans | |
| label | No | ||
| os_id | No | Operating system id. Default 2284 (Ubuntu 24.04). | |
| region | Yes | Region id, for example ewr | |
| max_usd | Yes | The most you agree to pay, in US dollars. Refused before any charge if the price is higher. | |
| computeApiKey | Yes | Singularity Cloud API key with the "spend" permission (cloud.x402compute.cc > Settings > API keys). | |
| prepaid_hours | Yes | Prepaid hours. At least 24, or when cloud_list_plans shows hourly rentals on: at least 1 for a machine, 2 for a GPU. Under 24 hours costs the hourly price +15% for machines and +20% for GPUs and AI machines (even on a CPU plan). | |
| ssh_public_key | No | Optional SSH public key for root login | |
| idempotency_key | Yes | A new unique id per purchase (8 to 128 letters, digits, . _ : -). Repeating a purchase with the SAME id never charges twice. |