run_applescript
Execute raw AppleScript code on macOS to automate custom system tasks and control applications directly.
Instructions
Executes raw AppleScript code on macOS for custom system automation.
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": "run_applescript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The raw AppleScript code to execute on macOS. |