delete_shape
Remove shapes by id, or { all: true } to clear.
How to use it
delete_shape is exposed by the Tldraw Claude MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the delete_shape tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Tldraw Claude MCP
$
claude mcp add tldraw --scope user -- node /absolute/path/to/tl-draw-mcp/packages/server/dist/index.jsOther tools in Tldraw Claude MCP (5)
connect_shapes
Bound connectors between shapes that already exist.
create_diagram
Node-and-edge diagram with automatic layout. Use this for any graph.
create_shape
Shapes at explicit positions — free-form drawing, wireframes, annotation.
get_canvas
Everything on the canvas, including how arrows are wired.
update_shape
Change position, size, colour or text by id.