extract-text
Extract text content from PDF documents for editing, analysis, or reuse. Supports word-by-word extraction and detailed positioning information.
Instructions
Extract text content from a PDF document
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to extract text from | |
| byWord | No | Extract text word by word | |
| detailed | No | Include detailed extraction with position info | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |