record_tool_trace
Appends a trace record of MCP tool execution to local store for diagnostics, explainability, and regression checks.
Instructions
Append one MCP tool trace record to local trace store.
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": {
"run_id": "<run_id>",
"tool_name": "<tool_name>",
"status": "<status>",
"summary": "<summary>"
},
"name": "record_tool_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| tool_name | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| error_text | No | ||
| elapsed_ms | No | ||
| scenario_id | No | adhoc | |
| correlation_id | No | ||
| attempt | No | ||
| retry_classification | No | not_applicable | |
| decision_reason | No | ||
| actual_effects | No | ||
| trace_db_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||