design_brush_stroke
Create or append brush strokes on a painting:stroke layer using built-in presets or custom brushes, with color, points, opacity, size, and seed controls.
Instructions
Create brush strokes on a painting:stroke layer. If layerId is provided, appends strokes to that layer; otherwise creates a new painting:stroke layer. Supports all 11 built-in brush presets or inline custom brushes.
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": {
"brushId": "<brushId>",
"color": "<color>",
"points": "<points>"
},
"name": "design_brush_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | PRNG seed for scatter/jitter. | |
| size | No | Override brush size in pixels. | |
| brush | No | Inline custom brush definition (overrides brushId for this stroke). Must include at least 'id' and 'name'. | |
| color | Yes | Stroke color as hex string, e.g. "#ff0000". | |
| index | No | Layer stack position when creating a new layer (default: top). | |
| points | Yes | Array of stroke points [{x, y, pressure?}, ...]. | |
| brushId | Yes | Brush preset ID (e.g. "round-hard", "ink-pen", "watercolor-round") or a custom brush ID defined on the layer. | |
| layerId | No | Existing painting:stroke layer ID to append to. Omit to create a new layer. | |
| opacity | No | Override stroke opacity 0–1. |