List Mappings
sourcemap_mappingsList generated-to-original position mappings from a source map, with pagination and optional source-file filtering.
Instructions
List mappings in a source map with pagination. Shows generated and original positions for each mapping. Optionally filter by source file. Use --limit and --offset for pagination.
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": "sourcemap_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a source map file (.map) | |
| limit | No | Maximum number of mappings to return (default: 50) | |
| offset | No | Skip first N mappings (default: 0) | |
| source | No | Filter by source filename |