Run IDE action
ide_actionInvoke Android Studio menu actions by ID to trigger Gradle sync, code reformatting, import optimization, builds, or lint checks without manual menu navigation.
Instructions
Invoke an Android Studio action by id, as if chosen from the menu. Useful ids: Android.SyncProject (Gradle sync), ReformatCode, OptimizeImports, MakeGradleProject (Build › Make), CompileDirty, Android.RunAndroidLint. Editor actions apply to the active editor; use ide_open first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| project | No | Open project name or base path. Defaults to the project containing `path`, else the active one. |