trace_complete
Mark an execution trace as complete to finalize it and make steps immutable for audit.
Instructions
Mark an execution trace as complete.
Finalizes the trace. After completion, the trace and all its steps are immutable and available for audit.
Args: trace_id: ID of the trace to complete.
Returns: JSON string with completion status and step count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |