overleaf_delete_file
Delete one file from an Overleaf project after previewing it. Use confirm:false to inspect the exact path, then confirm:true to remove it permanently only after explicit approval.
Instructions
Delete exactly one project file. First call with confirm omitted/false to inspect it; call again with confirm: true only after the user explicitly approves that exact path.
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": {
"project_id": "<project_id>",
"file_path": "<file_path>"
},
"name": "overleaf_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to perform the deletion. Defaults to false. | |
| file_path | Yes | File path to delete, for example "figures/unused.png" | |
| project_id | Yes | 24-character hexadecimal Overleaf project ID from the project URL |