folder-update
Update a folder: name, parent, color, description, sort. Parent is TRI-STATE: omit parentId and clearParent = unchanged; parentId string = new parent; parentId null or clearParent: true = move to root (a string together with clearParent: true is rejected).
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": {
"folderId": "<folderId>"
},
"name": "folder-update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. Omit to leave unchanged. | |
| sort | No | New sort position. Omit to leave unchanged. | |
| color | No | New hex color string. Omit to leave unchanged. | |
| folderId | Yes | Folder ID to update | |
| parentId | No | Tri-state: omit = leave alone, string = set new parent ID, null = move to root. | |
| clearParent | No | Alternative move-to-root signal for clients that cannot send literal JSON null. When true, overrides any parentId. | |
| description | No | New description. Omit to leave unchanged. |