extract_text
Extract and transcribe text from images using OCR. Converts documents, screenshots, and signs into editable text.
Instructions
Extract and transcribe text from an image (OCR). Useful for 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>"
},
"name": "extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Either a URL to the image or base64-encoded image data | |
| preserve_formatting | No | Whether to preserve text formatting and layout. Defaults to true. |