surface_async_causality
Trace minified async stack traces through await and microtask boundaries using sourcemaps to pinpoint original scheduling origins.
Instructions
Detect and trace across async boundaries (e.g. await, processTicksAndMicrotasks) to locate scheduling origins.
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": {
"stackTrace": "<stackTrace>",
"sourcemapDir": "<sourcemapDir>"
},
"name": "surface_async_causality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stackTrace | Yes | The minified stack trace with async boundary markers | |
| sourcemapDir | Yes | Directory containing corresponding .map files |