export_diagram
Convert .excalidraw files to SVG format. Provide the file path to generate a scalable vector image for embedding or sharing.
Instructions
Export an .excalidraw file to SVG format.
Args: file_path: Path to the .excalidraw file format: Export format - currently "svg" supported
Returns: Path to the exported 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": {
"file_path": "<file_path>"
},
"name": "export_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | svg | |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |