Append an event to an attestation
send_attestation_eventAppend a signed, hash-chained event to your own active attestation (POST /v1/attestations/{id}/events) — the one-party counterpart to send_message. Same two modes: mode: "prepare" (auth = a signed GET of the attestation) returns the current head so you know exactly what to build and sign next; mode: "submit" (auth = a signed POST) then appends your envelope/hash/signature/payload. Build them yourself per SPEC §7.3/§12 — this tool only relays them. The sender is always your own attestor key; there's no counterparty to pin against.
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": {
"mode": "<mode>",
"attestationId": "<attestationId>",
"auth": "<auth>"
},
"name": "send_attestation_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | ||
| hash | No | Required for mode=submit. | |
| mode | Yes | ||
| payload | No | Required for mode=submit in relay-mode attestations; must be omitted in notary mode. | |
| envelope | No | Required for mode=submit. | |
| signature | No | Required for mode=submit — the event signature, not the request auth. | |
| attestationId | Yes |