manage_entity
Create folders and rename, move, or delete Overleaf project entities. Validates paths and names before changes so invalid moves or duplicate names are blocked.
Instructions
Create a folder, rename, move, or delete an entity. Deletion requires confirmPath to exactly equal path. A name already used in the target folder (the entity's own included), and a folder moved into itself or one of its subfolders, are INVALID_ARGUMENT before anything is sent.
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": {
"projectId": "<projectId>",
"action": "<action>",
"path": "<path>"
},
"name": "manage_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative path using forward slashes | |
| action | Yes | ||
| newName | No | ||
| projectId | Yes | Overleaf project ID | |
| confirmPath | No | ||
| destinationFolderPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| action | Yes | ||
| created | No | ||
| writeMode | Yes | ||
| trackChangesActive | Yes |