get_prices_batch
Get prices for a batch of instance types from AWS, GCP, or Azure in a single API call. Compare costs across providers with specified region, OS, and pricing term.
Instructions
Get prices for multiple compute instance types in a single region in one call.
Fetches all prices concurrently. Useful for comparing a shortlist of candidate instance types (e.g. m5.xlarge vs c5.xlarge vs r5.xlarge) without separate calls.
Args: provider: Cloud provider — "aws", "gcp", or "azure" instance_types: List of instance types, e.g. ["m5.xlarge", "c5.xlarge", "r5.large"] region: Region code, e.g. "us-east-1" or "us-central1" os: Operating system — "Linux" (default) or "Windows" term: Pricing term — "on_demand" (default), "spot", "reserved_1yr", "cud_1yr"
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>",
"instance_types": "<instance_types>",
"region": "<region>"
},
"name": "get_prices_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Linux | |
| term | No | on_demand | |
| region | Yes | ||
| provider | Yes | ||
| instance_types | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||