Terraform outputs
tf_outputsLists Terraform/OpenTofu outputs as [name, value] pairs, redacting sensitive values to [name] only.
Instructions
List Terraform/OpenTofu outputs as [name, value] pairs; a sensitive output is redacted to [name] alone.
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_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Terraform project directory | |
| binary | No | terraform or tofu (default $TF_BINARY, else terraform) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputs | Yes | ||
| retained | No |