Image To Text
image_to_textExtract text from images such as documents, screenshots, and signs using OCR, returning results as plain text or JSON.
Instructions
Extract text from image using OCR (Optical Character Recognition).
Reads text from images like documents, screenshots, signs, etc.
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": {
"image": "<image>",
"model": "<model>"
},
"name": "image_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image file (base64 encoded or URL) | |
| model | Yes | OCR model (e.g., 'Nanonets_Ocr_S_F16') | |
| format | No | Output format: 'text' or 'json' | text |
| language | No | Language code for OCR (e.g., 'en', 'es', 'fr') - optional | |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript | |
| return_result_in_response | No | Return the extracted text inline in 'result'. Set to False to get only a download URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||