convert_notation
Convert and normalize diagrams between compact DSL and JSON spec, enabling editing in either notation.
Instructions
Convert a diagram between the compact DSL and the JSON spec (both directions), normalising it on the way. Useful for editing a diagram that was written in the other notation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_notation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target notation. Default 'json'. | |
| dsl | No | Diagram in the it-architecture DSL (preferred). Call get_authoring_guide once to learn it. | |
| spec | No | Structured diagram spec; alternative to 'dsl'. | |
| title | No | Overrides the title in dsl/spec. | |
| subtitle | No | ||
| direction | No | Flow direction; LR is the default. |