Import recipe from URL
import_recipe_from_urlImport a validated recipe or recipe-bundle JSON from an HTTPS URL into a local recipes directory, with host allowlisting and size caps for safety.
Instructions
Fetch, validate, and import a recipe or recipe-bundle JSON from an HTTPS URL into a local recipes directory (host-allowlisted, size-capped).
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": {
"url": "<url>",
"out_dir": "<out_dir>"
},
"name": "import_recipe_from_url"
}
}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. |