PDF: page text, numbered lines
page_textExtract numbered text lines from a PDF page or range in Okular, defaulting to the current page and optionally narrowing to a line window.
Instructions
Numbered text lines of a page range.
Numbered text lines of a page range (default: the page shown in Okular); lines such as "12-30" narrows to a window. Line numbers match context.
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": "page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| page | No | ||
| path | No | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |