extract_image_from_file
extract_image_from_fileExtract images from local files for visual analysis, OCR text extraction, and object recognition in screenshots, photos, diagrams, and documents.
Instructions
Extract and analyze images from local file paths. Supports visual content understanding, OCR text extraction, and object recognition for screenshots, photos, diagrams, and documents.
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": {
"file_path": "<file_path>"
},
"name": "extract_image_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| resize | No | ||
| max_width | No | ||
| max_height | No |