export_workflow_trace
Serialize ordered workflow events into a redacted JSON trace for post-run audit or reproducibility, returning inline bytes and SHA-256 metadata while omitting secrets and private reasoning.
Instructions
Serialize supplied ordered workflow events into a redacted JSON trace artifact. Use for audit or reproducibility after a workflow; generate_report is for the scientific summary. Returns inline bytes and SHA-256 metadata while omitting secrets and private reasoning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| traceEvents | No | Ordered caller-supplied events to serialize after redaction. | |
| idempotencyKey | Yes | Caller-supplied stable key for repeatable export identity. | |
| redactionProfile | Yes | Named policy for omitting private trace content from export. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |