Move documents to a subfolder
move_documents_to_subfolderMove documents of a folder into one of its subfolders, or back to the top of the folder (subfolder_id omitted or 0).
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_id": "<folder_id>",
"document_ids": "<document_ids>"
},
"name": "move_documents_to_subfolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | Folder id (from list_folders) | |
| document_ids | Yes | Document ids (from list_documents / search) | |
| subfolder_id | No | Subfolder id; 0 = the top of the folder |