app_visibility
Control app visibility by hiding, unhiding, or quitting applications via macOS. Manage open apps to declutter your screen.
Instructions
Hide, unhide or quit an application. Hiding keeps it running but removes its windows from view (like Cmd+H); quitting closes it and may prompt the user to save unsaved work. Note that quitting an application that is not running will launch it in order to deliver the quit event. Requires Accessibility permission for hide and unhide.
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>",
"app": "<app>"
},
"name": "app_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application name. | |
| action | Yes | Action to perform. |