Visualize YAML
visualize_yamlTurn YAML into a diagram. Returns Mermaid source; with an API key it also returns a public image hosted on yamltools.dev. Supports TREE (hierarchy) and FLOW (flowchart).
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": {
"yaml": "<yaml>"
},
"name": "visualize_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml | Yes | The YAML content to visualize | |
| format | No | Output image format | svg |
| diagramType | No | TREE for hierarchy, FLOW for flowchart | TREE |