krita_paint_path
Paint a native brush path directly onto image pixels with defined points, color, size, and opacity. Use the same operation ID to retry without duplicate strokes.
Instructions
Paint one native brush path in image pixels. Requires the target's active view; no per-point pressure. Reuse the same operation_id for retries.
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": {
"instance_id": "<instance_id>",
"operation_id": "<operation_id>",
"document_id": "<document_id>",
"node_id": "<node_id>",
"preset_id": "<preset_id>",
"size_px": "<size_px>",
"opacity": "<opacity>",
"color": "<color>",
"points": "<points>"
},
"name": "krita_paint_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| points | Yes | ||
| node_id | Yes | ||
| opacity | Yes | ||
| size_px | Yes | ||
| preset_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |