generate_pattern
Create tileable patterns and textures for backgrounds and design elements from a prompt, with control over style, color, density, size, and repeat method.
Instructions
Generate seamless patterns and textures for backgrounds and design elements
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": {
"prompt": "<prompt>"
},
"name": "generate_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Pattern tile size (e.g., "256x256", "512x512") | 256x256 |
| type | No | Type of pattern to generate | seamless |
| style | No | Pattern style | abstract |
| colors | No | Color scheme | colorful |
| prompt | Yes | Description of the pattern or texture to generate | |
| repeat | No | Tiling method for seamless patterns | tile |
| density | No | Element density in the pattern | medium |
| preview | No | Automatically open generated images in default viewer |