sculpt_mask
Manage sculpt masks on a mesh by clearing, inverting, smoothing, sharpening, growing, shrinking, or converting from a vertex group. Optionally invert the resulting mask.
Instructions
Manage sculpt masks on a mesh.
Args: mesh_name: Name of the mesh object. action: Mask action — CLEAR (remove mask), INVERT (flip), SMOOTH, SHARPEN, GROW, SHRINK, FROM_VERTEX_GROUP. vertex_group: Vertex group name (required for FROM_VERTEX_GROUP action). invert: Invert the resulting mask.
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": {
"mesh_name": "<mesh_name>"
},
"name": "sculpt_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | CLEAR | |
| invert | No | ||
| mesh_name | Yes | ||
| vertex_group | No |