as_restart
Restart Android Studio by closing and relaunching the IDE. Requires confirmation to prevent accidental restarts.
Instructions
Restart Android Studio (close then relaunch). Requires confirm=true.
Args: params (CloseInput): force (bool) for the close phase, confirm (bool).
Returns: str: JSON describing the close result and the relaunch pid.
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_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |