synctex_backward
Resolve PDF coordinates to source file and line via SyncTeX (PDF → source). Use after a compile to map a click position back to the .tex line. Requires a prior compile (needs output.synctex.gz).
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>",
"page": "<page>",
"x": "<x>",
"y": "<y>"
},
"name": "synctex_backward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| page | Yes | ||
| project_id | Yes | ||
| pdf_filename | No | output.pdf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |