instantiate_recipe
Instantiates a recipe into a parent thread and its DAG children, validating required params and freezing recipe bytes into the run before returning the RecipeRun.
Instructions
Instantiate a recipe into a parent thread + its DAG children (copy-on-fire: the recipe bytes are frozen into the run). params are validated against the recipe's declared params (required ones must be present). Returns the RecipeRun.
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": "instantiate_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | instantiation params (must satisfy the recipe's required params) | |
| recipe_id | Yes |