Close an attestation
close_attestationClose your own active attestation (POST /v1/attestations/{id}/close), which starts record issuance exactly like close_session. mode: "prepare" (auth = a signed GET) returns the current head to close at. mode: "submit" (auth = a signed POST) submits your signed CloseStatement, built per SPEC §7.4/§12.
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": "close_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | ||
| mode | Yes | ||
| signature | No | Required for mode=submit. | |
| statement | No | Required for mode=submit. | |
| attestationId | Yes |