Add my own food or dish
create_foodAdds a food with macros per 100 g, or a dish from ingredients (macros are summed).
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": {
"name": "<name>"
},
"name": "create_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fat_g | No | ||
| carbs_g | No | ||
| fiber_g | No | ||
| category | No | ||
| protein_g | No | ||
| sodium_mg | No | ||
| energy_kcal | No | ||
| ingredients | No |