tf_check_arguments
Validate Terraform argument and nested-block paths against the pinned provider schema before writing, flagging unknown, read-only, and deprecated paths.
Instructions
Validate argument / nested-block paths against the PINNED schema before writing them, e.g. ["bucket", "region", "versioning.enabled"]. Flags unknown, read-only and deprecated paths. Executes code: unless the schema is cached, this runs terraform providers schema, which starts the provider plugins installed under dir/.terraform/providers (with credential environment variables removed; they still run as your user).
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": {
"type_name": "<type_name>",
"arguments": "<arguments>"
},
"name": "tf_check_arguments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Terraform root module directory (must already be initialized), inside the server's directory or TERRAFORM_CWD_MCP_ALLOWED_DIRS. Default: TERRAFORM_CWD_MCP_DIR, else the server's working directory. | |
| kind | No | resource | data | ephemeral | resource |
| arguments | Yes | Dotted paths; nested blocks are separated by '.' | |
| type_name | Yes | Full type name, e.g. aws_s3_bucket |