run_applescript
Execute AppleScript commands on macOS and receive their output. Automates app control and system tasks while blocking destructive actions for safety.
Instructions
Run an arbitrary AppleScript and return its result.
Destructive scripts (delete, erase, shutdown, restart, trash, etc.) are refused for safety — do those manually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |