tf_check_arguments
Validate Terraform resource, data, or ephemeral argument and nested-block paths against the pinned provider schema before writing them. Flags 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.
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). 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 |