ocr_extract
Extract visible text from images using OCR. Returns bounding boxes and confidence scores; unclear characters are dropped, never guessed, to reduce false claims.
Instructions
Extract visible text from an image (OCR only, no scene description).
Args:
image_source: Local file path or http(s) URL of the image.
prompt: Optional extra instructions.
temperature: Sampling temperature, default 0.2.
Returns:
JSON: {"texts":[{"text","bbox","confidence"}], "overall_confidence"}.
Unclear characters are dropped, never guessed.
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_source": "<image_source>"
},
"name": "ocr_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| temperature | No | ||
| image_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |