更新白板元素
whiteboard_update_elementsUpdates whiteboard element text, position, size, color, or rotation by exact IDs in batch, with optional version checks to prevent overwriting newer canvas content.
Instructions
Update text, position, size, color, or rotation by exact element IDs. 按准确元素 ID 批量修改文本、位置、尺寸、颜色或旋转角度。
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": {
"updates": "<updates>"
},
"name": "whiteboard_update_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | No | 白板 ID;省略时使用最近更新的白板,建议始终指定准确 ID | default |
| updates | Yes | ||
| expectedVersion | No | 先 inspect 获得版本;过期写入会返回 VERSION_CONFLICT 而不会覆盖内容 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | No | ||
| error | No | ||
| boards | No | ||
| pageId | No | ||
| boardId | No | ||
| current | No | ||
| deleted | No | ||
| version | No | ||
| alignedIds | No | ||
| deletedIds | No | ||
| elementIds | No | ||
| updatedIds | No |