get_diagram_preview
Preview Monodraw diagram files as text with a simple file path. Control output length by setting maximum lines to inspect specific sections.
Instructions
Get a text preview of a Monodraw diagram file
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": {
"filePath": "<filePath>"
},
"name": "get_diagram_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .monopic or .monojson file | |
| maxLines | No | Maximum number of lines to return |