apply_filter
Apply image filters including blur, sharpen, grayscale, and edge enhancement to modify visual appearance and enhance specific features in images.
Instructions
Apply a filter to an image.
Available filters: blur, sharpen, smooth, detail, contour, edge_enhance, emboss, grayscale.
Args: path: Absolute path to the image file. filter_name: Name of the filter to apply. output_path: Where to save. Defaults to _..
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": {
"path": "<path>",
"filter_name": "<filter_name>"
},
"name": "apply_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| filter_name | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||