Order a new server
create_serverOrder a new server AND pay for it from the account wallet. THIS SPENDS REAL MONEY. It works in two steps. Step 1: call it with only product_id; nothing is ordered, and the reply lists the questions from checkout (operating system, each extra such as additional IPv4 or disk, billing cycle, hostname, coupon, SSH keys for the first login) with their choices and prices. Ask the person every question; never choose for them. Step 2: call it again with every answer, the ceiling max_price_minor (whole minor units, 599 = 5.99) and a request_id. If any answer is missing, or the first invoice would be above the ceiling, nothing is ordered. The server renews at the same price every billing cycle until the service is cancelled. Needs a key with orders:create, billing:read and invoices:pay. If the wallet cannot cover it, the order is held unpaid for 15 minutes and the reply says how much is missing.
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": {
"product_id": "<product_id>"
},
"name": "create_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system: a name or part of one, for example "Ubuntu 24.04", or its value id | |
| extras | No | One entry per extra the product offers: the option name (or id) mapped to the chosen value name (or id). Choose the free value to decline an extra. | |
| hostname | No | A name for the server, or null when the person does not want one | |
| quantity | No | How many identical servers. Only set it when the person asked for more than one. | |
| ssh_keys | No | Ids of saved SSH keys to log in with, or an empty list for none. Not asked for Windows. | |
| product_id | Yes | From list_products | |
| request_id | No | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. | |
| coupon_code | No | A coupon code, or null when the person has none | |
| billing_cycle | No | One of the cycles the product is sold in, for example monthly | |
| max_price_minor | No | Spending ceiling for the first invoice, in whole minor units |