editor-selection-get
Retrieve current Unity Editor selection details, including GameObjects, transforms, instance IDs, asset GUIDs, and active objects. Use with 'editor-selection-set' to modify selection.
Instructions
Get information about the current Selection in the Unity Editor. Use 'editor-selection-set' tool to set the selection.
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": "editor-selection-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeGameObjects | No | false | |
| includeTransforms | No | false | |
| includeInstanceIDs | No | false | |
| includeAssetGUIDs | No | false | |
| includeActiveObject | No | true | |
| includeActiveTransform | No | true |