compile_log
Read the raw engine log (output.log) of the project's last compile. Use after a failed compile when the structured errors lack a file/line (e.g. only a generic latexmk note): the log carries the engine's ! <error> / l.<line> <source> blocks plus the surrounding context needed to locate the failure. Returns the log tail (64KB cap) or exists=false when no log has been produced yet.
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_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |