select_by_index
Select specific vertices, edges or faces of one mesh by index.
Instructions
Select specific vertices, edges or faces of one mesh by index.
The deterministic way to select: no operator, no viewport, no guessing. analyze_mesh_quality reports sample indices for each defect it finds, so this is how to act on them. To select whole objects in the scene, use select_objects.
Args: object_name: Name of the mesh object. element: One of: VERTEX, EDGE, FACE. indices: Indices to select. Must be non-negative and within the mesh. extend: Add to the current selection instead of replacing it.
Returns: Dict with how many elements were selected and the mesh's totals.
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": {
"object_name": "<object_name>",
"element": "<element>",
"indices": "<indices>"
},
"name": "select_by_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extend | No | ||
| element | Yes | ||
| indices | Yes | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||