create_subrecipe
Turn an existing recipe into a reusable subrecipe ingredient for other recipes. Mark it as a subrecipe and get its ingredient ID to add to any recipe.
Instructions
Flag an existing recipe as a subrecipe so it becomes usable as an ingredient in other recipes. POST /recipes/{id}/create_subrecipe. Returns the new ingredient record — capture its ingredient_id, that is what you add to other recipes.
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": {
"recipe_id": "<recipe_id>"
},
"name": "create_subrecipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional attributes (e.g. name). | |
| as_json | No | ||
| recipe_id | Yes |