crop_preview
crop_previewGenerate a 1:1 or zoomed JPEG preview of any image region to inspect star shapes, halos, ringing, and noise texture. Specify a center point or rectangle to evaluate details before full processing.
Instructions
1:1 (or zoomed) JPEG of a region — for star shapes, halos, ringing, noise texture. Defaults to a 512 px box at the image centre. Pass center [x,y] or rect. zoom >1 magnifies.
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": {
"id": "<id>"
},
"name": "crop_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| rect | No | [x, y, width, height] in image pixels | |
| size | No | ||
| zoom | No | ||
| center | No | ||
| stretch | No | ||
| stf_from_crop | No | Compute the stretch from the crop instead of the full image |