shortcut_build
Builds and lints a .shortcut file from a JSON spec, with optional macOS signing so the resulting iOS Shortcut can be imported.
Instructions
Build a .shortcut from a JSON spec ({"name": ..., "actions": [...]}) and lint it.
See shortcut_reference(topic="spec") for every step type. Set sign=true on macOS to produce an importable signed file. Returns paths, action count and lint findings (fix all errors).
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": {
"spec": "<spec>"
},
"name": "shortcut_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sign | No | ||
| spec | Yes | ||
| sign_mode | No | anyone | |
| output_path | No |