tf_fmt
Format Terraform files in a directory, with options to check formatting without changes or apply recursively.
Instructions
Format Terraform files
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tf_fmt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| check | No | Check only, don't modify | |
| recursive | No |