agents_trace_get
ActiveTool of io.github.saloprj/dialogbrain
Fetch the full execution detail for a single trace — tool executions, events timeline, LLM call spans (with error_message on failures). Use after `agents.traces_list` identifies a specific trace of interest (failed run, slow run, unexpected outcome). By default LLM `system_prompt` and `prompt_messages` are stripped — set `include_llm_bodies=true` to fetch them when diagnosing prompt engineering issues (emits a WARNING audit log). Set `full=true` to disable all field truncation. `completion_text` on failed LLM calls is always returned (capped at 8 KB).
Parameters schema
{
"type": "object",
"required": [
"trace_id",
"agent_id"
],
"properties": {
"full": {
"type": "boolean",
"description": "Disable all field truncation. Escape hatch for a human operator. OMIT for the standard truncated view."
},
"agent_id": {
"type": "integer",
"description": "Expected agent_id — used for scope validation. Mismatch returns not_found."
},
"trace_id": {
"type": "string",
"description": "Trace identifier returned by agents.traces_list."
},
"include_llm_bodies": {
"type": "boolean",
"description": "Include system_prompt and prompt_messages in LLM spans. Audited at WARNING level. OMIT to keep them stripped (the default)."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries