get_editor_state
Retrieves the current Unity Editor state, including version, open scene, play mode, compile status, and selected objects, so you can inspect context before taking action.
Instructions
Unity version, open scene, play mode, compile status and selected objects.
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": "get_editor_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||