terminal_applescript
Execute AppleScript to automate macOS apps, control them via their dictionaries, and display dialogs.
Instructions
Execute AppleScript code. Useful for macOS-specific automation like controlling apps via their AppleScript dictionaries, showing dialogs, etc.
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": {
"script": "<script>"
},
"name": "terminal_applescript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | AppleScript code to execute | |
| timeout | No | Timeout in milliseconds (default: 15000) |