duplicate_object
Copies an object by ID, offsets it by dx/dy woxels, and returns the new element ID. Use snap to align copies to grid steps.
Instructions
Duplicate an object by id, offset by (dx, dy) woxels. Returns the new element id.
snap: rounds dx, dy to the nearest whole grid steps; see get_snap_settings.
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": {
"id": "<id>"
},
"name": "duplicate_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | No | ||
| id | Yes | ||
| snap | No |