manage_component
Add or remove Unity components on GameObjects by specifying the target path, component type, and action. For toggling enable/disable, use set_property with m_Enabled instead.
Instructions
Add or remove a component. action: 'add' or 'remove' ONLY (no 'enable'/'disable' — use set_property with prop='m_Enabled' for that). type: short name (e.g. 'Button') or full namespace (e.g. 'UnityEngine.UI.Button').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| type | Yes | ||
| action | Yes |