Terraform backend info
tf_backend_infoReports the configured Terraform backend type and configuration for an initialized project by reading .terraform/terraform.tfstate; run terraform init first.
Instructions
Report the configured backend type and config for an initialized project. Reads .terraform/terraform.tfstate — run init first.
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": {
"cwd": "<cwd>"
},
"name": "tf_backend_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Terraform project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| config | Yes | ||
| retained | No |