run_shortcut
Run an Apple Shortcut by name or list all shortcuts, with optional text input passed via a temporary file.
Instructions
List the user's Apple Shortcuts, or run one by name. Optional text input is written to a temporary file and passed to the shortcut as its input. A shortcut that waits for user interaction will block until it times out (30s).
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>"
},
"name": "run_shortcut"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Shortcut name (required for run). | |
| input | No | Optional text to pass to the shortcut as its input (staged to a temporary file, max 100000 characters). | |
| action | Yes | Action to perform. |