compile
Builds an Overleaf project with the remote LaTeX compiler, returning the PDF URL and log messages; optionally specify a root .tex file.
Instructions
Compile an Overleaf project using the remote LaTeX compiler. Returns the PDF URL and any log messages.
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>"
},
"name": "compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The Overleaf project ID | |
| resource_path | No | Path of a .tex file in the project to compile as the root document. E.g. "paper.tex", "folder/test.tex" |