acad_change_layer
Move an AutoCAD object to an existing layer while preserving its handle; use it instead of erasing and re-adding the object.
Instructions
Move an existing object to another layer, keeping the object and its handle. The layer must exist. Use this instead of erase and re-add.
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": {
"handle": "<handle>",
"layer": "<layer>"
},
"name": "acad_change_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||