compile_project
Compiles a ShareLaTeX project and returns compile status, errors, and warnings from output.log so you can diagnose build failures; optionally override the root file.
Instructions
Compile a ShareLaTeX project and return errors and warnings.
Read-only with respect to project source. project is a project name or
id. The result starts with the compile status and then lists error and
warning lines from output.log. root_file overrides automatic root
selection. Busy, timeout and unavailable logs are reported explicitly.
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": "compile_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| root_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |