synctex_forward
Resolve a source file/line to the PDF highlight rectangle via SyncTeX (source → PDF). Returns page + x/y + width/height for positioning a highlight. Requires a prior compile.
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>",
"file": "<file>",
"line": "<line>"
},
"name": "synctex_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| line | Yes | ||
| column | No | ||
| project_id | Yes | ||
| pdf_filename | No | output.pdf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |