Skip to main content

execute_menu_item

Auto-generated from the Python tool registry. Do not hand-edit outside <!-- examples:start --><!-- examples:end --> blocks — the generator (tools/generate_docs_reference.py) will overwrite them.

Group: core  ·  Module: services.tools.execute_menu_item

Description

Execute a Unity menu item by path.

Parameters

NameTypeRequiredDescription
menu_pathstr | NoneMenu path for 'execute' or 'exists' (e.g., 'File/Save Project')

Returns

A dict containing the Unity response. The exact shape depends on the action.

Examples

No examples yet. Add usage examples here — they will be preserved across regenerations.