build_trace
Record a reasoning step from agent execution, including type, parent ID, and artifacts, to build a structured DAG trace for persistent analysis.
Instructions
Record a reasoning step from the agent's execution. Each step has a type (hypothesis/experiment/analysis/conclusion/verification/backtrack), an optional parent_id to build a reasoning DAG, and optional artifact file paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Reasoning step type | |
| step_id | Yes | Unique identifier for this step | |
| summary | Yes | One-line summary of what this step did | |
| trace_id | Yes | Identifier for the overall trace/experiment | |
| artifacts | No | Optional list of associated file paths | |
| parent_id | No | Optional parent step ID for DAG construction |