overleaf_upload_file
Upload local LaTeX-related files into an Overleaf project, replacing any same-named file. Use it to add figures, .bib, or .sty files to a project folder.
Instructions
Upload a local file (figure, .bib, .sty…) into the project; a same-named file is replaced.
Only files under the working directory or CLAUCLOVERLEAF_FILE_DIRS, outside hidden
folders, with a LaTeX-related extension, are accepted.
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 |
|---|---|---|---|
| name | No | Name in the project (default: local name). | |
| folder | No | Destination folder in the project ('' = root). | |
| project | Yes | Project id, Overleaf project URL, or exact project name. | |
| local_path | Yes | Absolute path of the local file to upload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |