unity_menu
Executes a Unity Editor menu item by path to automate editor actions, such as creating a GameObject/3D Object/Cube.
Instructions
Execute an editor menu item by path, e.g. 'GameObject/3D Object/Cube'. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)
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": {
"path": "<path>"
},
"name": "unity_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |