Upload a binary file
upload_fileUpload or overwrite binary files like images, PDFs, or data in an Overleaf project to keep resources updated.
Instructions
Upload or overwrite a binary file (image, PDF, data) in an Overleaf project.
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": {
"projectId": "<projectId>",
"path": "<path>",
"contentBase64": "<contentBase64>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| projectId | Yes | ||
| contentBase64 | Yes |