window_focus
Bring any macOS app to the foreground and focus it by matching its name partially, case-insensitively. Use this to switch to a specific application quickly.
Instructions
Bring an application to the foreground and focus it. Matches app name partially (case-insensitive).
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": {
"appName": "<appName>"
},
"name": "window_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appName | Yes | Application name to focus (e.g., "Safari", "Terminal", "Visual Studio Code") |