change_food_favorite
Add or remove a food from your FatSecret favorites by supplying a food ID and favorite flag; requires explicit user confirmation before making changes.
Instructions
Add or remove a food favorite after explicit user confirmation.
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": {
"food_id": "<food_id>",
"favorite": "<favorite>"
},
"name": "change_food_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes | ||
| favorite | Yes | ||
| serving_id | No | ||
| number_of_units | No |