get_ec2_price
Returns the price of a specific EC2 instance type (region, platform, tenancy, pricing model) from the CloudFix EC2 pricing snapshot. Returns hourly/monthly/yearly price, or { available: false, reason } when the instance/region is not covered.
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": {
"region": "<region>",
"instance_type": "<instance_type>"
},
"name": "get_ec2_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | AWS region, e.g. "us-east-1" | |
| tenancy | No | Instance tenancy (default "Shared") | |
| platform | No | Operating system platform (default "Linux/UNIX") | |
| instance_type | Yes | EC2 instance type, e.g. "m5.2xlarge" | |
| pricing_model | No | Pricing model (default "On Demand"). One of On Demand or a 1-yr/3-yr Savings-Plan term. |