Put documents in a folder
file_docMove documents by ID into an existing folder, or remove them from all folders by omitting the folder; archived documents stay archived.
Instructions
Move documents into a folder, or out of every folder by leaving folder out. Only the place changes; an archived document moves and stays put away.
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": {
"doc": "<doc>"
},
"name": "file_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | The id of the document to file, not its title, or a list of ids: if one cannot, none moves | |
| folder | No | An existing folder, by name, path or id |