download_pdf
Compile an Overleaf project and save the resulting PDF to a local file, optionally specifying the root .tex document.
Instructions
Compile an Overleaf project and download the resulting PDF to a local file.
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_id": "<project_id>",
"output_path": "<output_path>"
},
"name": "download_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The Overleaf project ID | |
| output_path | Yes | Local file path where the PDF should be saved (e.g. output.pdf) | |
| resource_path | No | Path of a .tex file in the project to compile as the root document. E.g. "paper.tex", "folder/test.tex" |