shortcuts_run_shortcut
Execute macOS Shortcuts in the background without opening the app by providing the shortcut name and optional input via AppleScript integration.
Instructions
[Shortcuts operations] Run a shortcut with optional input. Uses Shortcuts Events to run in background without opening the app.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input | No | Optional input to provide to the shortcut | |
name | Yes | Name of the shortcut to run |
Input Schema (JSON Schema)
{
"properties": {
"input": {
"description": "Optional input to provide to the shortcut",
"type": "string"
},
"name": {
"description": "Name of the shortcut to run",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}