Prepare: Log Food Entry (FatSecret)
fatsecret_prepare_food_entry_createPrepare a food diary entry as a dry run using a selected serving, without saving until confirmed.
Instructions
Dry-run: prepare logging a food into your diary (use fatsecret_pick_serving first to get servingId). Nothing is written until fatsecret_commit_prepared_operation confirms this.
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": {
"foodId": "<foodId>",
"foodEntryName": "<foodEntryName>",
"servingId": "<servingId>",
"numberOfUnits": "<numberOfUnits>",
"meal": "<meal>",
"reason": "<reason>"
},
"name": "fatsecret_prepare_food_entry_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 2026-08-17 | |
| meal | Yes | ||
| foodId | Yes | ||
| reason | Yes | ||
| servingId | Yes | ||
| foodEntryName | Yes | ||
| numberOfUnits | Yes |