diff_trace_execution
Compares execution paths and data between failed and successful requests to pinpoint bug root causes, automatically finding a successful trace for the same method when no comparison is provided.
Instructions
Compare the execution paths and data differences between two requests (usually one successful and one failed) to identify the root cause of bugs.
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": {
"projectId": "<projectId>",
"baseTraceId": "<baseTraceId>"
},
"name": "diff_trace_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The unique identifier of the project. | |
| baseTraceId | Yes | Trace ID where the failure occurred. | |
| compareTraceId | No | Optional: Trace ID of a successful request for comparison. If not provided, the system will automatically find a successful record for the same method. |