mac_recipe_export
Export saved macOS automation recipes as a portable JSON bundle for backup or transfer. Choose a single recipe or all user recipes, optionally including built-ins.
Instructions
Export user-saved recipes as a portable .mac-recipe.json bundle (built-ins excluded by default).
Examples:
Export one recipe inline: { name: "open-url-in-private" }
Export all user recipes to a file: { outputPath: "~/recipes/backup.json" }
Include built-ins: { outputPath: "~/recipes/full.json", includeBuiltins: true }
Format: mac-recipe-bundle/v1 (versioned for forward compatibility).
Limitations: outputPath must resolve under $HOME and end with .json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Single recipe name to export (omit = export all user recipes) | |
| outputPath | No | Path to write bundle (must be under $HOME and end with .json). Omit to return inline. | |
| includeBuiltins | No | Include the 118 built-in recipes (default: false) |