crop_image
Crop an image to a specified rectangular region by providing coordinates and dimensions, saving the result.
Instructions
Crop an existing image file to a rectangular sub-region.
Args: params (CropInput): source path, crop box (left/top/width/height), output path.
Returns: str: JSON {"ok": true, "path": "...", "width": W, "height": H}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |