get-selected-cell
Retrieve the currently selected cell's attributes from a Draw.io diagram to enable programmatic diagram analysis and modification through the MCP server.
Instructions
This tool allows you to retrieve selected cell (whether vertex or edge) on the current page of a Draw.io diagram. The response is a JSON containing attributes of the cell.
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": "get-selected-cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||