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
| Field | Type | Description |
|---|---|---|
| id* | string | The entry id to edit (from get_day). |
| local_date* | string | YYYY-MM-DD diary date of the entry (from get_day). |
| item_index | number | Which food in the entry's items[] to edit (0-based). Required when changing a food's name/ |
| name | string | |
| quantity | string | Portion as stated, e.g. '2' or '1 cup'. |
| macros | object | Corrected macros — only the components you send are changed. |
| caffeine_mg | number | Corrected caffeine content, in milligrams. |
| fluid_ml | number | Corrected fluid/hydration volume, in millilitres. |
| meal | string (breakfast | lunch | dinner | snack | other) | Move the entry to a different meal label. |
| note | string |
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.