delete_file
Deletes a file from the attached Overleaf project while keeping it recoverable from project history.
Instructions
Delete a file from the attached project. It stays recoverable from Overleaf's history.
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>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File to delete, relative to the project root. | |
| message | No | Commit message shown in Overleaf's history. |