diagram_guide
Read this once before calling render_graph.
Instructions
Read this once before calling render_graph.
Returns the TerraVision graph rules (types to prefer, containers, what is drawn and what is hidden), worked example graphs, every node type for the provider, and in "setup" whether Graphviz, Git and Terraform are installed: if Graphviz or Git is missing, tell the user what to install before drafting a diagram. Base your graph on the closest example and keep its level of detail: availability zones, public and private subnets, NAT gateways routed to the internet, and shared services in their group. It also lists the gallery, 19 architect-designed diagrams per cloud (streaming, MLOps, IoT, hybrid networks, multi-region, SaaS, payments, security and more); call again with example to get one with its CIDR ranges, labels and flows. And it lists patterns (EKS, SageMaker, Step Functions, GKE, AKS and more) drawn from TerraVision's output for real Terraform; call again with pattern to get one.
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": {
"provider": "<provider>"
},
"name": "diagram_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| example | No | Name of a design from the "gallery" list, to fetch its graph with its title, CIDR ranges, arrow labels and flows as render_graph arguments. | |
| pattern | No | Name of a pattern from the "patterns" list, to fetch that graph. | |
| provider | Yes | "aws", "azure" or "gcp". One provider per diagram. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |