convert_diagrams_read
Batch convert Draw.io diagram files to Mermaid Markdown, providing AI-readable architectural context for chat sessions.
Instructions
Batch scan and convert all workspace diagram files (.xml, .drawio) into Mermaid Markdown, returning their content directly as AI context.
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_diagrams_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | No | Custom glob patterns to scan for diagram files | |
| diagramType | No | Diagram type: "c4" or "uml" (default: "c4") |