get_locations
Resolve a DAP location reference into source coordinates to pinpoint exact code positions during .NET debugging.
Instructions
Resolve a DAP locationReference into source coordinates.
Capability-gated on supportsLocationsRequest. A locationReference can be returned by variables or stack frames in adapters that implement DAP 1.68+.
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
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": {
"location_reference": "<location_reference>"
},
"name": "get_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location_reference | Yes |