execute_menu_item
Performs actions in Unity Editor by triggering menu items via specified paths, enabling automation and integration with AI model clients.
Instructions
Executes a Unity menu item by path
Input Schema
Name | Required | Description | Default |
---|---|---|---|
menuPath | Yes | The path to the menu item to execute (e.g. "GameObject/Create Empty") |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"menuPath": {
"description": "The path to the menu item to execute (e.g. \"GameObject/Create Empty\")",
"type": "string"
}
},
"required": [
"menuPath"
],
"type": "object"
}