upload_file
Upload a local file to an existing Overleaf project folder, optionally overwriting same-name files and verifying the stored location and content.
Instructions
Upload one local file to an existing project folder. localPath must be absolute on the MCP server. path is the project-relative destination, defaulting to the local basename. overwrite defaults to false; true explicitly permits replacing a same-name text document or binary file. Returns server acceptance, actual location and content verification separately. An unverified or unknown result must be inspected before retrying. ZIPs are uploaded as files, not imported as projects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| localPath | Yes | ||
| overwrite | No | ||
| projectId | Yes |