compare_prices
Compare pricing for any service across multiple regions. Results sorted cheapest first with percentage delta between highest and lowest. Optionally show delta vs a baseline region.
Instructions
Compare pricing for any service across multiple regions.
Fetches concurrently. Returns results sorted cheapest first, with % delta between cheapest and most expensive. Optionally shows delta vs a baseline region.
Args: spec: PricingSpec dict (same as get_price). The region field is overridden per comparison — you can pass any region in the spec. regions: List of region codes to compare, e.g. ["us-east-1", "eu-west-1", "ap-northeast-1"] baseline_region: Optional region for delta comparison, e.g. "us-east-1".
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": {
"spec": "<spec>",
"regions": "<regions>"
},
"name": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| regions | Yes | ||
| baseline_region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||