file_converter_image_to_text_action
Extract text from images using OCR. Converts image to a searchable PDF and extracts plain text into a .txt file.
Instructions
Extract text from an image using OCR. Chains image → PDF → OCR → plain text. Returns both a searchable PDF and a .txt file.
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_file_url": "<input_file_url>",
"output_variable_name": "<output_variable_name>"
},
"name": "file_converter_image_to_text_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file_url | Yes | S3 or public URL of the image (JPG, PNG, TIFF, etc.). | |
| language | No | eng | |
| output_variable_name | Yes | Variable name for the result. | extracted_text |