quit_app
Quit any running macOS app by specifying its name, bundle ID, or process name. Ideal for automating app closure via natural language.
Instructions
Quit a running macOS app.
Args: app_name: App name, bundle id, or process name
Returns: JSON string with quit app metadata, or an error message.
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": {
"app_name": "<app_name>"
},
"name": "quit_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |