crop_image
Crop images to specific pixel dimensions using rectangle coordinates. This free tool runs locally without requiring an account.
Instructions
Crop an image to the specified rectangle (left, top, right, bottom in pixels).
Free tool — runs locally, no account needed.
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>",
"left": "<left>",
"top": "<top>",
"right": "<right>",
"bottom": "<bottom>"
},
"name": "crop_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| left | Yes | ||
| top | Yes | ||
| right | Yes | ||
| bottom | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |