xtiles_update_page_group
Update a page group in the tab bar — rename it, recolour it and/or archive it: provide title, color, is_archived, or any combination. Archiving a group archives it and its pages together. Get groupId from xtiles_get_project_structure. Never target a group whose system flag is true (the planner) — the API refuses it with a 409, and it should not be attempted. The API answers with no body on success, so there is nothing to return beyond confirmation.
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": {
"projectId": "<projectId>",
"groupId": "<groupId>"
},
"name": "xtiles_update_page_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Colour — one of: DEFAULT, LAVENDER, RED, ORANGE, YELLOW, GREEN, DARK_GREEN, LIGHT_BLUE, BLUE, PURPLE, PINK, GRAY, BEIGE. Omit to leave the colour unchanged. `DEFAULT` sets that specific colour; it does not clear/reset the colour — there is currently no way to remove a colour once set. Which colour: first read the project's structure. A page or group listed with `colour <NAME>` has a coloured tab; one listed with only its type (such as `GENERAL`) has no colour. 1) If the tabs are coloured, they are the scheme: a new tab takes the colour of its role in it — an ordinary page the ordinary pages' colour, a group the main page's colour. 2) If no tab has a colour, or the project is new, the colours come from the project's tile colours: the first tile colour gives the ordinary colour, the second the accent; with no coloured tiles, from the topic pair. The ordinary colour goes on every tab; the accent only where the project has a main page — on that page and on every page group. Change one tab at a time, each finishing before the next. Scheme, mapping and when to only offer: `xtiles://guide/markdown/design`, Step 4. | |
| title | No | New title for the group. Omit to leave the title unchanged. | |
| groupId | Yes | Group ID (from xtiles_get_project_structure). Never target a group whose `system` flag is true — see xtiles_get_project_structure. | |
| projectId | Yes | Project ID (use xtiles_list_projects to discover). | |
| is_archived | No | Archive (true) or unarchive (false) — hides/unhides the item in the tab bar without deleting it. Omit to leave the archived state unchanged. Archived items still appear in xtiles_get_project_structure with is_archived: true, which is how to find one again to unarchive it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updated | Yes | ||
| group_id | Yes |