selection_set
Select GameObjects by name in Unity Editor to manage scene objects. Use addToSelection parameter to modify existing selections.
Instructions
Select a GameObject by name in the editor. Optionally add to existing selection.
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": {
"name": "<name>"
},
"name": "selection_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the GameObject to select | |
| addToSelection | No | 'true' to add to current selection, 'false' to replace | false |