Current spot price per zone
spot_latestPaid (0.01 USDC per call). Price currently in force per zone and product for one instance type. The most recent event of every (zone, product) series of the type, with its timestamp and age. A price is only meaningful while the provider still offers the type; AWS series older than ~10 days are likely retired, GCP/Azure reprice rarely so old timestamps are normal. For every type in a region at once use /spot/snapshot.
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": {
"provider": "<provider>",
"region": "<region>",
"instance": "<instance>"
},
"name": "spot_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | Region slug as listed by /catalog (for example `us-east-1` for AWS, `us-central1` for GCP, `us-east` for Azure). Azure slugs map to `eastus`, `westus2`, `westeurope`. Example: us-east-1 | |
| instance | Yes | Instance / machine / SKU type name exactly as listed by /instances (for example `c5.large`, `n2-standard-4`, `D2s_v5`). Example: c5.large | |
| provider | Yes | Cloud provider. One of `aws`, `gcp`, `azure`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Newest event in the region; the snapshot is current to this time. | |
| count | No | ||
| prices | No | ||
| region | No | ||
| provider | No |