list_pdf_hyperlinks
Extract all hyperlinks from a PDF, reporting each link's target URI, bounding box location, and covered text. Use to inventory links before or after modifications.
Instructions
Extract all existing hyperlinks and clickable URIs from a PDF.
Use this tool to inventory the links in a document before or after making modifications. It reports the target URI, its location (bbox), and the text covered by the link if detectable.
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": {
"input_path": "<input_path>"
},
"name": "list_pdf_hyperlinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Absolute path to the PDF file to scan. | |
| password | No | Optional password if the PDF is encrypted. | |
| max_file_size | No | Maximum allowed input file size in bytes (default: 100 MB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |