compress_image
Compress an image for vision model input, optionally extracting OCR text to reduce token usage.
Instructions
Compress an image for vision model input, with optional OCR text extraction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | ||
| image_path | Yes | ||
| extract_text | No | ||
| max_dimension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |