添加白板元素
whiteboard_add_elementsAdd sticky notes, text, shapes, arrows, drawings, mind maps, images, files, or links to a whiteboard page in batches. Use world coordinates or omit positions for automatic layout.
Instructions
Add sticky notes, text, shapes, arrows, drawings, mind maps, images, files, or links in batches. Positions use canvas world coordinates; omitted positions are arranged automatically. 批量添加便签、文本、图形、箭头、画笔、思维导图、图片、文件或链接。坐标是无限画布世界坐标;省略坐标时自动排列。
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": {
"pageId": "<pageId>",
"elements": "<elements>"
},
"name": "whiteboard_add_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| boardId | No | 白板 ID;省略时使用最近更新的白板,建议始终指定准确 ID | default |
| elements | 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 |