overleaf_rename_file
Rename an existing file in an Overleaf project without changing its folder. Provide the project ID, current file path, and new file name to update the project structure.
Instructions
Rename an existing project file without changing folders. List files first to obtain the exact old_path; this cannot move a file between folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New file name only, for example "methods.tex" | |
| old_path | Yes | Existing file path, for example "chapters/method.tex" | |
| project_id | Yes | 24-character hexadecimal Overleaf project ID from the project URL |