overleaf_upload_file
Upload a single local file to an Overleaf project and automatically create any missing parent folders in the target remote path.
Instructions
Upload a single local file (.tex, .bib, .png, .pdf, .eps, etc.) to an Overleaf project.
Parent folders in remote_path are created automatically.
Args: project: Overleaf project ID, project URL, or exact project title. local_path: Path to the file on the local machine. remote_path: Target path in Overleaf (e.g. 'figures/arch.pdf'). Defaults to the local filename at root.
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": "<project>",
"local_path": "<local_path>"
},
"name": "overleaf_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| local_path | Yes | ||
| remote_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |