Read the text in an image (OCR)
read_image_textExtract text from an image URL via OCR, returning each text region with confidence, bounding box and polygon; supports Chinese, Japanese, English and other Latin-script text.
Instructions
OCR: read the text in an image. Give the image as a URL. Returns every text region with its text, confidence, bounding box and polygon. Reads Chinese (Simplified and Traditional), Japanese, English and other Latin-script text. One credit per image; an image whose long side is 2.5 times its short side or more is read in sections, one credit each.
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_url": "<image_url>"
},
"name": "read_image_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | auto (default) returns all the text; another value returns only the text in that language. | |
| image_url | Yes | An http(s) URL of a JPEG, PNG or WebP image. |