extract_text
Pull readable text from PDFs, Word, Excel, and images, using OCR when needed. Provide a file path to get the content.
Instructions
Extract text from any document or image using OCR if needed
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": "extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the document or image file |