Set Mesh Selection
set_mesh_selectionReplaces point, polygon, or edge selections on an editable mesh, clearing the existing channel first. Use indices to specify selected elements and pair with get_mesh to read results.
Instructions
Replace the point / polygon / edge BaseSelect on an editable mesh. Existing selection of the specified kind is cleared first. Pair with get_mesh using include:['selections'] to read the same channels back.
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>",
"kind": "<kind>",
"indices": "<indices>"
},
"name": "set_mesh_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which selection channel to replace. | |
| handle | Yes | Editable target (PointObject / PolygonObject). | |
| indices | Yes | Indices to mark selected. |