app_open
Launch or focus an app, or open a file in it. The app has to be allowed for control on this machine. Opens in the background unless background is false.
Arguments
Over MCP every tool also takes machine: the machine’s name or id, optional when only one machine is online.
| Name | Type | Required | Meaning |
|---|---|---|---|
app | string | no | App name or bundle id. Must be allowed for control. |
background | boolean | no | Do not bring it to the front (default true). Default: true. |
observe | `“none” | “ui” | “image”` |
path | string | no | A file or folder to open (with app, in that app). |
Result
| Name | Type | Required | Meaning |
|---|---|---|---|
audit_id | string | yes | Id of the audit line on the machine. |
dispatched | boolean | yes | |
foreground_changed | boolean | yes | The frontmost app or window changed because of the action. |
observation | object | no | |
settled_ms | integer | yes | How long the screen took to go quiet after the action, in milliseconds. |
Examples
MCP
{
"name": "app_open",
"arguments": {
"machine": "<machine>"
}
}Limits
The call times out after 30 s (timed_out). Available since version 0.0.2. A refused or failed call returns one of the error codes.