fix_diagram
Automatically corrects syntax errors in Eraser diagrams like missing brackets, arrow syntax, and formatting issues to make diagrams functional.
Instructions
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": {
"content": "<content>"
},
"name": "fix_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Diagram content in Eraser DSL format to fix | |
| diagramType | No | Type of diagram to fix | sequence-diagram |