audit_event_emit
POSTs a governance event to the audit-stream-py instance configured by AUDIT_STREAM_URL and AUDIT_STREAM_TOKEN. This sends kind, caller-asserted source, and payload to that service.
Instructions
POSTs a governance event to the audit-stream-py instance configured by AUDIT_STREAM_URL and AUDIT_STREAM_TOKEN. This sends kind, caller-asserted source, and payload to that service. The bearer token authenticates this MCP process, not the claimed producer or tenant. Obtain the user's approval before recording an event; omit secrets and personal data unless the service is approved for them. The server assigns event_id/timestamp/prev_hash/hash. Returns a validated service event receipt or a structured error; receipt does not prove durable storage or event completeness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The audit-stream-py service accepts only its declared event kinds (for example decision_card_drafted, request_denied, or watch_drifted). Use 'other' for ad-hoc kinds; unknown values are rejected by the sink. | |
| source | Yes | Caller-asserted ASCII producer label, not an authenticated identity. Use a stable identifier such as 'mcp-kinetic-gain' or 'manual'; do not claim another producer's identity without evidence. | |
| payload | No | Optional plain-object payload to record alongside kind+source. Invalid supplied payloads are rejected, not dropped. |