Upload a local file
overleaf_upload_fileUpload a local file, such as a figure, directly into your Overleaf project, making it available for LaTeX compilation.
Instructions
Upload a local file, such as a figure, into the 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": {
"localPath": "<localPath>",
"filePath": "<filePath>"
},
"name": "overleaf_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| localPath | Yes | ||
| projectId | No |