pack_uv_islands
Packs UV islands into the unit square with configurable margin and optional rotation, helping prevent overlaps and fit textures within 0–1 UV space.
Instructions
Packs UV islands within the unit square with margin and optional rotation using Blender's island packing engine.
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>"
},
"name": "pack_uv_islands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Target mesh object name. | |
| margin | No | Margin spacing between packed UV islands (0.0 to 1.0). Defaults to 0.01. | |
| rotate | No | Allow rotation of islands to achieve tighter packing. Defaults to True. | |
| 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. | |
| uv_layer | No | Target UV map layer name. Defaults to active UV layer. | |
| expected_snapshot_id | No | Optional SHA-256 snapshot id for optimistic concurrency control. |