extract_text
Extracts all text and metadata from an image into a single JSON response, combining OCR and image information for quick analysis.
Instructions
Extract all text and metadata from an image.
Convenience wrapper that combines OCR text extraction with full image metadata in a single JSON response.
Args: image_path: Absolute path to the image file (must be under home directory)
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |