Estimate infrastructure cost
estimate_costCalculate monthly AWS costs per resource from Terraform, CloudFormation, or Pulumi inputs, with FinOps savings tips and a Cost Score. Run after editing IaC to review cost impact before applying.
Instructions
Monthly AWS cost of an infrastructure-as-code input, per resource, with FinOps savings recommendations and a Cost Score. Use it after writing or editing Terraform/CloudFormation/Pulumi. A .tf directory runs a read-only terraform plan. Report the returned total and its notes as-is.
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": {
"path": "<path>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Infrastructure to analyze: a Terraform or Terragrunt directory, a .tfstate, a CloudFormation template, a Pulumi stack export, or a CloudCostTree YAML/JSON file. Relative to the directory the assistant started the server in. |