set-cell-shape
Change the visual appearance of a diagram element by applying a predefined shape style from the library to an existing cell.
Instructions
Updates the visual style of an existing vertex cell to match a library shape by name.
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": {
"cell_id": "<cell_id>",
"shape_name": "<shape_name>"
},
"name": "set-cell-shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_id | Yes | Identifier (`id` attribute) of the cell whose shape should change. | |
| shape_name | Yes | Name of the library shape whose style should be applied to the existing cell. |