get_selection
Reports the current selection on a mesh object by element type, returning selected and total counts plus sample indices so callers can verify before running mesh operations.
Instructions
Report what is currently selected on a mesh.
Without this a caller cannot see the result of its own selection, and the mesh tools that act on the current selection would be operating blind.
Args: object_name: Name of the mesh object.
Returns: Dict with selected and total counts per element type, and the first 50 selected indices of each, so a caller can confirm before acting.
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>"
},
"name": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||