tandem_receipt
Claim a task receipt before applying a terminal result, then complete it with its token. Prevents duplicate processing from repeated reads while keeping effects idempotent.
Instructions
Gate result processing separately from reading/acknowledging notification events.
Claim before applying a terminal result; only an authorized fresh claim may proceed. Complete with its token after handling. Duplicate reads do not authorize repeated effects. A stranded claim is uncertain, never automatically released: reconcile external state. Claims grant no filesystem/external permissions. External effects still need their own idempotency/transaction boundary.
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": {
"task_id": "<task_id>"
},
"name": "tandem_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| action | No | status | |
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||