manage_uv_layers
Creates, activates, renames, or deletes UV map layers on a mesh object with rollback and concurrency safety.
Instructions
Creates, activates, renames, or deletes UV map layers on a mesh object with rollback and concurrency safety.
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": {
"name": "<name>",
"layer_name": "<layer_name>"
},
"name": "manage_uv_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Target mesh object name. | |
| action | No | Operation: 'create' (add new UV layer), 'set_active' (activate layer for editing/rendering), 'rename' (rename existing layer), or 'remove' (delete UV layer). Defaults to 'create'. | create |
| task_id | No | Optional task or workflow identifier. | |
| approved | No | DEPRECATED / UNTRUSTED: Client-supplied approval flags in tool arguments are not trusted as proof of human consent. | |
| new_name | No | New layer name when action is 'rename'. | |
| layer_name | Yes | Name of the target UV layer. | |
| expected_snapshot_id | No | Optional SHA-256 snapshot id for optimistic concurrency control. |