PDF: links on a page
linksExtract anchor text and target locations from a PDF page to follow citations, sections, figures, or URLs; use page_text to jump to the target line.
Instructions
Links on a page with their targets, to follow citations yourself.
Links on a page (default: the page shown): anchor text and line, then the target page and line for internal links (citations, sections, figures) or the URL. Follow one with page_text(page=..., lines="<target_line>-...").
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |