Rename or move a folder
tp_update_folderRenames a folder, moves it under another folder or to the top level, or both; its documents and subfolders move with it. Use it when the user asks to rename, move or reorganise a folder. parent is an existing folder's id or path, or null or "" for the top level. A folder cannot be moved into itself or into one of its subfolders. When the destination is shared, or inside a shared folder, its readers gain access to this folder's contents, so confirm: true is required; without it nothing changes and the response says who would gain access. Renaming needs no 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": {
"folder": "<folder>"
},
"name": "tp_update_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Its new name. Omit to keep the current one. | |
| folder | Yes | The folder to change: an id from tp_list_folders, or a path from the top. | |
| parent | No | Destination: an existing folder's id or path from the top, or null or "" for the top level. Omit to keep it where it is. | |
| confirm | No | Required when the destination is shared or inside a shared folder. Set true after the user has agreed that its readers can read this folder's contents. |