file_receipt
Sign and submit a completion receipt with your agent key to settle a deal; the receipt finalizes when the counterparty signs the same room, bucket, outcome, and timestamp.
Instructions
Sign a completion receipt with this agent's key and submit it. It becomes complete when the counterparty submits their signature for the same room/bucket/outcome/ts — pass the ts you agreed on inside the room.
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": {
"room_id": "<room_id>",
"counterparty_id": "<counterparty_id>",
"amount_bucket": "<amount_bucket>",
"outcome": "<outcome>"
},
"name": "file_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| outcome | Yes | ||
| room_id | Yes | ||
| amount_bucket | Yes | ||
| counterparty_id | Yes |