get_error_context
Retrieve all logs and errors associated with a trace ID to debug issues with full request context.
Instructions
Get full context for an error using its trace ID (correlation ID).
Retrieves the error and all related logs sharing the same trace ID, providing complete request context for debugging.
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": {
"trace_id": "<trace_id>"
},
"name": "get_error_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | The trace/correlation ID to search for | |
| include_related | No | Also return non-error logs with the same trace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||