Get Page Information By Spans
get_page_information_by_spansRetrieve PDF page information for selected page ranges or individual pages, enabling targeted document inspection without processing the entire file.
Instructions
Get information for multiple pages by page range
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>",
"page_spans": "<page_spans>"
},
"name": "get_page_information_by_spans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | PDF file path | |
| page_spans | Yes | Page range, supported formats: "0", "0-2", "1,3,5", "0-2,5,7-9" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |