compress_image
Reduce image file size by adjusting quality settings. Supports JPEG, WebP, and PNG formats for local processing without accounts.
Instructions
Compress an image by reducing quality. Output format: jpeg, webp, or png.
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>"
},
"name": "compress_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| quality | No | ||
| output_format | No | jpeg | |
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |