Get Page Index By Pdfobjnum
get_page_index_by_pdfobjnumLocate the page index that contains a specified PDF object number in a file, so you can trace objects to pages during PDF Action inspection and security analysis.
Instructions
Find the page containing object by PDF object number
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": {
"file_path": "<file_path>",
"obj_num": "<obj_num>"
},
"name": "get_page_index_by_pdfobjnum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj_num | Yes | PDF object number | |
| file_path | Yes | PDF file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |