unfour.api.reorder_folders
unfour.api.reorder_foldersReorder sibling folders within a collection and parent by supplying folder IDs in the desired order; no API requests are executed.
Instructions
Reorders sibling folders in one collection and parent. Supply their IDs in the desired order; no requests are executed.
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": {
"collectionId": "<collectionId>",
"parentFolderId": "<parentFolderId>",
"folderIds": "<folderIds>"
},
"name": "unfour.api.reorder_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderIds | Yes | ||
| workspaceId | No | ||
| collectionId | Yes | ||
| parentFolderId | Yes | null selects the collection root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | Yes |