extract_text_from_pdf
Extract text content from PDF files for analysis or processing. Specify page ranges or extract all pages to retrieve text without markdown conversion.
Instructions
Extract text content from a PDF file without conversion to Markdown.
Args: working_dir: Absolute path to the working directory for file operations pdf_file_path: Path to the PDF file relative to working_dir page_numbers: Page numbers to extract - "all" for all pages, or comma-separated numbers like "1,3,5" or "1-5"
Returns: The extracted text content from the PDF
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": {
"working_dir": "<working_dir>",
"pdf_file_path": "<pdf_file_path>"
},
"name": "extract_text_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| working_dir | Yes | ||
| pdf_file_path | Yes | ||
| page_numbers | No | all |