Move documents to a folder
tp_move_documentsMoves documents into a folder, or out of all folders with folder: null. Use it when the user asks to file, move or organise documents in a folder, or to take them out of one. ids are document ids from tp_list_documents; folder is a folder id or path and must already exist. When the folder is shared, or inside a shared folder, its readers can read the moved documents, so confirm: true is required; without it nothing moves and the response says who would gain access. Moving documents out of a shared folder 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": {
"ids": "<ids>",
"folder": "<folder>"
},
"name": "tp_move_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Ids of the documents to move, from tp_list_documents. | |
| folder | Yes | Destination folder: an id, or a path from the top. null or "" takes the documents out of all folders. | |
| confirm | No | Required when the destination folder is shared or inside a shared folder. Set true after the user has agreed that its readers can read these documents. |