extract_image_text
Extract text segments from an image, in reading order (OCR).
Use this as the first step when localizing an image: pull out the
on-image source strings, translate each with `translate` (so TM, style
guides, and brand voice apply), then re-render with `localize_image`.
Args:
image_path: Public HTTPS URL (hosted) or local path (stdio) to a PNG, JPEG, or WebP image 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": {
"image_path": "<image_path>"
},
"name": "extract_image_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | Public HTTPS URL (hosted) or local path (stdio) to a PNG, JPEG, or WebP image file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |