resolve_stack
Map minified stack traces from a TraceBug bug report back to original source files and lines using project .map files, returning bundled and original positions for each frame.
Instructions
Map the minified stack traces in a TraceBug bug report to original source files/lines using .map files found in the current project (run from the repo that built the app). Returns bundled and original positions per frame.
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": {
"file": "<file>"
},
"name": "resolve_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The report to read: a path to a TraceBug export file (.html), absolute or relative to the server's base directory — or just the filename, or a fragment of the filename or report title. Get exact paths from list_bug_reports. | |
| searchDir | No | Directory to search for .map files (default: the current working directory). Point at your build output if maps aren't found. |