extract_text_by_page
Extract text from specific pages or page ranges in a PDF. Specify page numbers or a range to get the content you need.
Instructions
Extract text from specific pages or page ranges.
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": "<file>"
},
"name": "extract_text_by_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| pages | No | ||
| encoding | No | utf-8 | |
| page_range | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |