Report a witnessed event on a harness
spoc.harness.reportReports one authenticated event to an issued harness using HMAC-SHA256 and strictly monotonic offsets, enabling ordered event tracking.
Instructions
Report a single event on an issued harness. Authenticated with an HMAC-SHA256 over harness_id || '\n' || offset || '\n' || event_type || '\n' || canonical_json(payload), keyed by the reporting_key returned at issuance. Offsets must be strictly monotonic starting at 0.
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": {
"harness_id": "<harness_id>",
"offset": "<offset>",
"event_type": "<event_type>",
"payload": "<payload>",
"hmac_signature": "<hmac_signature>"
},
"name": "spoc.harness.report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | ||
| payload | Yes | ||
| event_type | Yes | ||
| harness_id | Yes | ||
| hmac_signature | Yes | 64 hex chars (HMAC-SHA256 output). |