Patch sidebar
patch_sidebarAtomically change a workspace's shared sidebar list; only workspace owners and admins can. Removes rows, then appends the added ones, then, with order, arranges every row. Name a row by its Page ID, plus a View ID for a row that opens one of the Page's Views. Any active Page can be listed, top-level or not. Returns the list as it ends up.
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": {
"workspaceId": "<workspaceId>"
},
"name": "patch_sidebar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Rows to append, in this order. A row already listed keeps its place. | |
| order | No | Every row the sidebar holds after add and remove, each once, in the new order. | |
| remove | No | Rows to take out of the sidebar. The Pages and Views themselves stay. | |
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||