对齐白板元素
whiteboard_align_elementsAlign or evenly distribute two or more whiteboard elements by exact ID using edge, center, or spacing modes.
Instructions
Align or evenly distribute two or more elements using their exact IDs. 将两个或更多元素按边缘、中心或间距进行对齐分布。
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": {
"ids": "<ids>",
"mode": "<mode>"
},
"name": "whiteboard_align_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| mode | Yes | ||
| boardId | No | 白板 ID;省略时使用最近更新的白板,建议始终指定准确 ID | default |
| 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 |