Documentation
README
Editor / Selection / Set
Set the current Selection in the Unity Editor to the provided objects. Use 'editor-selection-get' tool to get the current selection first.
Inputs
select— array ofObjectRef. Every entry MUST resolve viaFindObject(); otherwise the tool throws before touchingSelection.objects.
Behavior
Assigns the resolved array to Selection.objects, then calls UnityEditorInternal.InternalEditorUtility.RepaintAllViews() so Hierarchy/Inspector reflect the change. Returns the post-change SelectionData snapshot.
How to Call
unity-mcp-cli run-tool editor-selection-set --input '{
"select": "string_value"
}'
This is the opening of the README. Read the full README on GitHub.