Log a One-Off Exercise (FatSecret)
fatsecret_log_one_off_exerciseLog a one-time exercise to your FatSecret diary by temporarily replacing your template, then restoring it to keep your default routine unchanged.
Instructions
Orchestrates a one-off, never-to-repeat workout via FatSecret's template mechanism: saves your CURRENT template (to restore after), overwrites it with a template containing only this workout, commits that into the diary for the given date, then restores your original template. If a step fails partway, this tool attempts a best-effort restore and tells you to check fatsecret_get_exercise_entries / your template state — it cannot guarantee atomicity across FatSecret's three separate API calls. Requires FATSECRET_ENABLE_WRITES.
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": {
"exerciseId": "<exerciseId>",
"minutes": "<minutes>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "fatsecret_log_one_off_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 2026-08-17 | |
| minutes | Yes | ||
| exerciseId | Yes | ||
| idempotencyKey | Yes | A unique key you control; retrying a commit with the same key + unchanged operation returns the original result instead of double-posting. |