Look up original source position
sourcemap_lookupMap a generated line and column to the original source position to debug minified code.
Instructions
Map a one-based generated line and zero-based column back to an original source position.
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": {
"mapId": "<mapId>",
"line": "<line>"
},
"name": "sourcemap_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| mapId | Yes | ||
| column | No |