download_pdf
Compile an Overleaf project and save the resulting PDF to a specified local file or directory.
Instructions
Compile the project and copy the PDF to dest.
If dest ends with .pdf it is the file path; otherwise dest is treated as a directory.
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>",
"dest": "<dest>"
},
"name": "download_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | Path relative to OVERLEAF_OUTPUT_DIR (default: a per-user Downloads/overleaf-connect folder), ending in .pdf or naming a directory for output.pdf | |
| project | Yes | Project id (24-char hex) or exact name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||