ForkMate
F
ForkMate
/update_meal

update meal

Correct a food already logged to the user's diary — fix a wrong calorie/macro value, quantity, or name, or move an entry to a different meal. Identify the entry

liveunknown~5s typical
mcpforkmate
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-forkmate-forkmate /update_meal for me.

Input

FieldTypeDescription
id*stringThe entry id to edit (from get_day).
local_date*stringYYYY-MM-DD diary date of the entry (from get_day).
item_indexnumberWhich food in the entry's items[] to edit (0-based). Required when changing a food's name/
namestring
quantitystringPortion as stated, e.g. '2' or '1 cup'.
macrosobjectCorrected macros — only the components you send are changed.
caffeine_mgnumberCorrected caffeine content, in milligrams.
fluid_mlnumberCorrected fluid/hydration volume, in millilitres.
mealstring (breakfast | lunch | dinner | snack | other)Move the entry to a different meal label.
notestring

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-forkmate-forkmate","endpoint":"/update_meal","input":{"id":"...","local_date":"..."}}'
cli
npx cracked-ai run -p mcp-ai-forkmate-forkmate -e /update_meal -i '{"id":"...","local_date":"..."}'
mcp
run_tool({ provider: "mcp-ai-forkmate-forkmate", endpoint: "/update_meal", input: {"id":"...","local_date":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.