Get Page Text Content
get_page_text_contentExtract all visible text and basic metadata from a specified PDF page by passing a file path and optional page number. Use it to inspect page content for analysis or review.
Instructions
Extract text content and metadata from specified PDF page
Extract all visible text content from specified page of PDF, while providing basic information about the page.
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>"
},
"name": "get_page_text_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative path to PDF file | |
| page_number | No | Page number starting from 0. Default is 0 (first page) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |