Add recipe to cookbook
add_recipe_to_cookbookUse this when the user wants to file a saved recipe in a cookbook. Adds the recipe to a cookbook the user owns, or creates a new cookbook with the given name first. A recipe can be in several cookbooks.
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": {
"recipeId": "<recipeId>"
},
"name": "add_recipe_to_cookbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipeId | Yes | Id of the recipe to add. | |
| cookbookId | No | Id of an existing cookbook (from list_cookbooks). Pass this or newCookbookName, not both. | |
| newCookbookName | No | Name for a new cookbook to create and add the recipe to. An existing cookbook with the same name is reused. |