update_moodboard_items
Patch existing moodboard items by ID to move, resize, retitle, recolor, or relock them while keeping connectors attached; invalid changes are skipped without altering items.
Instructions
Patch existing moodboard items in place by id — move, resize, recaption, retitle, retint, relock or change any field an add_moodboard_items item accepts. Connectors stay attached (their endpoints follow the item). Get ids from read_moodboard or a previous add_moodboard_items result. Each update is merged over the current item and re-validated: only the fields you pass change; pass null for an optional field (caption, title, label, color, tint, radius, previewHeight) to remove it; an update that would leave the item invalid (a non-portable image src, a non-http link url, a bad swatch hex…) is skipped with a reason and the item is left unchanged. Items with locked: true are skipped unless the update itself sets locked: false. The type of an item cannot be changed — remove it and add a new one instead. Pass connectors to change arrows: re-point an end, relabel or restyle. Writes directly to the .moodboard.md file on disk; max 500 updates per call.
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": {
"workspace": "<workspace>",
"moodboardPath": "<moodboardPath>"
},
"name": "update_moodboard_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | No | Items to patch (max 500 per call). Each entry is { id, ...fields } — only the given fields change; type is immutable. | |
| workspace | Yes | Workspace path or name | |
| connectors | No | Connectors to patch. Each entry is { id, from?, to?, label?, style? }: only the given fields change, style merges over the current style, and label: null removes the label. Connector ids come from read_moodboard or add_moodboard_items. | |
| moodboardPath | Yes | Moodboard file path relative to workspace (e.g., "documents/brand-inspiration.moodboard.md") | |
| includeSummary | No | Also return an English summary of the whole board (default: false; read_moodboard always includes it) |