generate_recipe
Generate a recipe from natural language instructions, specifying dietary restrictions, allergies, and nutritional targets.
Instructions
Generate a new recipe based on natural language instructions
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": {
"prompt": "<prompt>"
},
"name": "generate_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Natural language description of the desired recipe | |
| dietaryRestrictions | No | Dietary restrictions | |
| allergies | No | Ingredients to avoid | |
| calories | No | Target calories per serving | |
| protein | No | Target protein in grams | |
| servings | No | Number of servings (1-20) |