pdf_extract_text
Extract text content from PDF files using the MCP PDF Utils server. Specify page ranges to retrieve specific sections of text from documents.
Instructions
Extract text content from a PDF file. Optionally specify 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": "<file>"
},
"name": "pdf_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the PDF file | |
| startPage | No | Start page (1-based, default: 1) | |
| endPage | No | End page (1-based, default: last page) |