set_line_completion
Mark a shopping note line as completed or uncompleted, toggling its state only if different from the desired status.
Instructions
Mark a shopping note line as completed or uncompleted. Uses a toggle endpoint: fetches current state and only toggles if needed. WARNING: Not idempotent due to toggle semantics. Do NOT retry on timeout — check current state first.
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": {
"token": "<token>",
"completed": "<completed>"
},
"name": "set_line_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Line UUID token | |
| completed | Yes | Desired completion state |