Skip to main content
Glama

edit-cell

Modify existing shapes in Draw.io diagrams by updating text, position, dimensions, or style properties using the cell ID. Only specified changes are applied while preserving other attributes.

Instructions

Update properties of an existing vertex/shape cell by its ID. Only provided fields are modified; unspecified properties remain unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cell_idYesIdentifier (`id` attribute) of the cell to update. Applies to vertex/shape cells.
textNoReplace the cell's text/label content.
xNoSet a new X-axis position for the cell.
yNoSet a new Y-axis position for the cell.
widthNoSet a new width for the cell.
heightNoSet a new height for the cell.
styleNoReplace the cell's style string (semi-colon separated `key=value` pairs).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lgazo/drawio-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server