set_shrinkage
Set a pattern piece's fabric shrinkage by specifying width and height percentages; 100 equals no change, lower values increase shrinkage.
Instructions
Set a piece's fabric shrinkage as its size in percent: 100 = no shrinkage, 97 = shrinks 3 %.
Args: pattern_index: Pattern to change. width_percent: Width (weft) size in percent, 50-150. height_percent: Height (warp) size in percent, 50-150.
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": {
"pattern_index": "<pattern_index>"
},
"name": "set_shrinkage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_index | Yes | ||
| width_percent | No | ||
| height_percent | No |