Move a doc, file or folder
move_entityRelocates a project file, folder, or document into an existing destination folder or the project root. Use it to reorganize an Overleaf project without breaking references.
Instructions
Moves the entity at path into the folder to_folder ('' for the project root). The folder must exist.
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": {
"path": "<path>",
"to_folder": "<to_folder>"
},
"name": "move_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative path of the doc, file or folder to move. | |
| to_folder | Yes | Destination folder path; '' for the project root. | |
| project_id | No | Overleaf project id from list_projects or open_project. Opens the project if it is not already active. Pass it on every call when MCP sessions may change between calls. Writes without it only go to the project last confirmed by open_project or by a write naming it. |