Apple Control Frontmost App
apple_control_frontmost_appPerform GUI fallback actions on the frontmost macOS app when native tools cannot complete the task, using menus, keys, text, and values.
Instructions
Use the unified Apple control plane for bounded GUI fallback actions when a native app-domain tool cannot complete the task.
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": {
"action": "<action>"
},
"name": "apple_control_frontmost_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| text | No | ||
| index | No | ||
| label | No | ||
| value | No | ||
| action | Yes | ||
| bundle_id | No | ||
| menu_path | No | ||
| modifiers | No | ||
| application | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |