vw_get_selection
Reads the objects currently selected on the active layer and returns their UUIDs, types, names, classes, layers, bounding boxes, and attached records, so you can inspect or reference the user's current selection.
Instructions
Describe the objects the user has selected on the active layer.
Read-only. Returns [{uuid, type, type_code, name, class, layer, bbox, records (attached record names)}]. Use it when the user says "this one"; vw_find_objects searches by criteria instead. UUIDs stay valid across calls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vw_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of selected objects to return. Default 500. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |