Set machine price
set_machine_pricePrice a machine the company's computations run on, from a day on — the company's owner and administrators only. The same machine and 'validFrom' replaces that row; another day adds one, and the earlier row keeps pricing the days before it, so a past month stays at its own price. kind 'monthly' (default) needs monthlyPrice and cores: a machine rented by the month or our own; 'computeCores' says how many of its cores computations get (default all) — only that share can stand idle. kind 'tariff' prices by the second: coreSecond, memoryGiBSecond and gpuRates ('H100=0.001097, A100-80GB=0.000694'). Always say where the price came from: 'source' (the provider's page, or 'invoice'), 'checkedOn', 'basis' (list, invoice, estimate) and, where the plan was only matched by cores and memory, typeAssumed=true. Never invent a price: a machine with no row has no cost.
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": {
"machine": "<machine>",
"validFrom": "<validFrom>"
},
"name": "set_machine_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 'monthly' (default) or 'tariff'. | |
| note | No | How the price was arrived at — an estimate's formula. | |
| plan | No | The provider's plan, e.g. 'AX42', 'CPX52'. | |
| basis | No | 'list' (default), 'invoice' or 'estimate'. | |
| cores | No | monthly: its cores (threads where the runner counts threads). | |
| source | No | Where the price was read: the page's address, or 'invoice'. | |
| machine | Yes | The machine as its runner reports it, e.g. 'kimmy', 'ax42', 'modal'. | |
| currency | No | Currency of every price on the row: 'EUR', 'USD' (default). | |
| gpuRates | No | tariff: GPU-second prices by type, 'H100=0.001097, L4=0.000222'. | |
| provider | No | Who rents it out — 'Hetzner', 'Modal' — or 'own'. | |
| checkedOn | No | The day the source was looked at, YYYY-MM-DD. | |
| memoryGiB | No | Its memory in GiB, for the record. | |
| validFrom | Yes | The first day this price is in force, YYYY-MM-DD. | |
| coreSecond | No | tariff: one core for one second. | |
| typeAssumed | No | True where the plan was matched by cores and memory, not confirmed. | |
| computeCores | No | monthly: how many of the cores computations get; default all. | |
| monthlyPrice | No | monthly: what the whole machine costs a month. | |
| memoryGiBSecond | No | tariff: one GiB of memory for one second. |