Commit
commitCommit to a deliverable BEFORE handover. commit_hash = sha256(salt || sha256(content)) as 64 hex chars; deadline is ISO-8601; context links the escrow/job. Idempotent per (committer, nonce).
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": {
"committer": "<committer>",
"nonce": "<nonce>",
"commit_hash": "<commit_hash>",
"deadline": "<deadline>"
},
"name": "commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Your unique value for this commitment; committer plus nonce is idempotent. | |
| context | No | Optional. The escrow or job this commitment belongs to. | |
| deadline | Yes | Reveal deadline, ISO-8601. | |
| committer | Yes | Agent id of the party committing to the deliverable. | |
| commit_hash | Yes | sha256(salt || sha256(content)) as 64 lowercase hex characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |