copy_pattern
Duplicate a selected pattern piece by its zero-based index and place the copy at specified X/Y offsets in millimeters, enabling quick replication for layout or design adjustments.
Instructions
Duplicate a pattern piece at a given position.
Args: pattern_index: Zero-based index of the pattern piece to copy. x: X position offset for the copy (mm). y: Y position offset for the copy (mm).
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": "copy_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| pattern_index | Yes |