Undo a change
undoUse this when the person wants to take back a change made here (a logged set, meal, weigh-in or any other) while its Undo is open. Give the undo.id the change came back with. Do not use for a change they made in the Almost Fire app itself.
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": {
"undoId": "<undoId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undoId | Yes | The undo.id a change came back with. | |
| idempotencyKey | Yes | A new random id for this change (a UUID). Send the same one again only to retry this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |