cloudforge_import_terraform
Parse Terraform HCL files to generate infrastructure diagrams and Mermaid previews for visualizing cloud architecture.
Instructions
Parse existing Terraform HCL and return a diagram structure plus an inline Mermaid preview. Use when the user has .tf files and wants to visualise or understand their infrastructure.
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": {
"hcl": "<hcl>"
},
"name": "cloudforge_import_terraform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hcl | Yes | Raw Terraform HCL content to parse. |