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.
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": {
"step_id": "<step_id>",
"trace_id": "<trace_id>",
"type": "<type>",
"summary": "<summary>"
},
"name": "build_trace"
}
}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 |