open_drawio_xml
Opens a draw.io editor with a diagram from XML content or a URL. Use it to create, view, or edit diagrams in native draw.io XML format.
Instructions
Opens the draw.io editor with a diagram from XML content or a URL to XML content. Use this to create, view, or edit diagrams in native draw.io/mxGraph XML format.
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": "open_drawio_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The draw.io XML content or a URL pointing to XML content. If a URL is provided, the content will be fetched automatically. | |
| lightbox | No | Open in lightbox mode (read-only view). Default: false | |
| dark | No | Dark mode setting. Default: auto |