Background pattern
make_patternGenerates SVG background patterns (grid, dots, diagonal, cross, checker, waves, noise) and CSS to apply them as background-image for UI surfaces.
Instructions
Generates a seamless SVG background pattern (grid, dots, diagonal, cross, checker, waves, noise) and the CSS to use it as background-image.
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": {
"type": "<type>"
},
"name": "make_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Tile size in px | |
| type | Yes | ||
| color | No | #94a3b8 | |
| stroke | No | Line width, or dot radius for dots | |
| opacity | No | ||
| background | No | Optional fill behind the pattern |