as_ui_invoke_action
Invoke any Android Studio IDE action via Find Action (Ctrl+Shift+A). Access commands like Sync Project with Gradle Files or Rebuild Project, with verification screenshot.
Instructions
Invoke any IDE action via Find Action (Ctrl+Shift+A). Requires confirm=true.
This opens Find Action, types the action name and presses Enter — giving access to essentially any IDE command (e.g. 'Sync Project with Gradle Files', 'Rebuild Project', 'Reformat Code'). It is a best-effort UI path; verify the result with the returned screenshot. Prefer dedicated tools where they exist.
Args: params (InvokeActionInput): action (name), confirm, screenshot_after.
Returns: str: JSON with the result and a verification screenshot path.
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": {
"params": "<params>"
},
"name": "as_ui_invoke_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |