pdf_extract_text
Extracts raw text from PDF files and saves it as plain text, with optional page selection.
Instructions
Extracts raw text from a PDF. [Input: PDF (.pdf) | Output: Plain Text (.txt)]
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": {
"input": "<input>",
"output": "<output>"
},
"name": "pdf_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| pages | No | Pages to extract text from, e.g., '1,3,5-7' or 'all'. | |
| output | Yes | The output text file path. |