Darkness Image Effect
get__canvas_darknessApply a darkness effect to an image from a URL with a configurable amount, useful for dimming images before canvas processing.
Instructions
Apply a darkness effect to an image from a URL. Method: GET /api/canvas/darkness Tags: Canvas, Image, Effect
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": {
"image": "<image>"
},
"name": "get__canvas_darkness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image URL (contoh: "https://i.ibb.co/9rtTrVy/download-1.jpg") | |
| amount | No | Darkness amount (0-255) (contoh: 50) |