Import recipe from URL
import_recipe_from_urlImport a recipe from an HTTPS URL by fetching and validating its JSON, then writing it to a specified local directory.
Instructions
Fetch, validate, and import a recipe or recipe-bundle JSON from an HTTPS URL into a local recipes directory (host-allowlisted, size-capped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL of a recipe or recipe-bundle JSON (e.g. a git-raw link). | |
| out_dir | Yes | Recipe directory to write imported recipes into. | |
| max_bytes | No | Maximum download size in bytes (default 1 MiB, hard cap 10 MiB). | |
| overwrite | No | Overwrite existing recipe files. |