infracost_generate_usage
Generate a pre-filled Infracost usage file for specified resource types, with sensible defaults. Complements infracost_configure for cost estimation.
Instructions
Generate Infracost usage file with sensible defaults for specified resource types. Complements infracost_configure by providing pre-filled templates.
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": {
"resourceTypes": "<resourceTypes>"
},
"name": "infracost_generate_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onlyJson | No | Return only the raw JSON (no guidance). Overrides includeGuidance. Default: false. | |
| resourceTypes | Yes | Resource types to include in usage file (e.g., ["aws_lambda_function", "aws_s3_bucket"]). Required. | |
| outputFilePath | No | Optional path where the usage file should be saved (for guidance only). | |
| includeGuidance | No | Include formatted guidance on how to use the generated file. Default: true. |