overleaf_compile
Compile an Overleaf project and report LaTeX errors with file, line, and message, because Overleaf may show success despite errors.
Instructions
Compile the project and report LaTeX errors (file, line, message).
Overleaf reports 'success' even when the document has errors (LaTeX recovers), so always look at the error list.
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>"
},
"name": "overleaf_compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Fast draft compile (no images). | |
| project | Yes | Project id, Overleaf project URL, or exact project name. | |
| include_log | No | Append the raw LaTeX log (long). | |
| include_warnings | No | Also list warnings and bad boxes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |