Create pattern pieces
clo_create_patternsDraw one or more 2D pattern pieces from ordered outline points and create all garment pieces in a single call, using absolute coordinates and returning outlines ready for sewing.
Instructions
Draw one or more new pattern pieces from ordered outline points (each outline closes back to its first point). Create all pieces of a garment in one call. Coordinates are absolute positions in the 2D window, so give each piece its own area or they overlap. Returns each new piece's index and its outline lines (index, length), ready for clo_sew.
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": {
"patterns": "<patterns>"
},
"name": "clo_create_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | Yes |