transform_recipe
Modify a recipe according to your instructions, such as making it vegan, changing serving sizes, or adjusting calorie targets. Returns a transformed recipe that fits your dietary needs.
Instructions
Transform an existing recipe based on instructions (e.g., make it vegan, adjust calories, change servings)
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": "<recipe>",
"instructions": "<instructions>"
},
"name": "transform_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes | The recipe to transform | |
| protein | No | New target protein in grams per serving | |
| calories | No | New target calories per serving | |
| servings | No | New number of servings | |
| instructions | Yes | Instructions for how to transform the recipe |