move
Move documents or folders into another folder, including several at once. Pass ids, a mix of document ids and folder ids, plus one parentFolderId. Omit parentFolderId to file everything at the root. Does not change document content — use edit_document for that. Moves every id it can. Ids the user cannot move come back in permissionDeniedIds. A folder moved into itself or into one of its descendants comes back in refusedIds and stays where it is. Ids that are not a document or folder here come back in unresolvedIds. The rest are still moved.
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>"
},
"name": "move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Document ids and folder ids to move, mixed together. Use fetch for a document and fetch_folder for a folder. | |
| parentFolderId | No | The folder to move every id into. Omit to move them all to the root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refusedIds | Yes | Folder ids left in place because the destination is the folder itself or one of its descendants. | |
| unresolvedIds | Yes | ||
| movedFolderIds | Yes | ||
| movedDocumentIds | Yes | ||
| permissionDeniedIds | Yes |