analyze_terraform_code
Analyze Terraform code for structure, modularity, variables, and best practices. Identify improvements to enhance code quality and maintainability.
Instructions
Analyze Terraform code structure, modularity, variables, and best practices.
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": {
"code": "<code>"
},
"name": "analyze_terraform_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Terraform code snippet to analyze (max 50,000 chars). | |
| focusArea | No | Analysis focus area: modularity, variables, outputs, locals, or general. | general |