read_memory
Read raw memory bytes from a debugger memory reference using offset and count parameters to inspect variable and stack frame data during .NET debugging.
Instructions
Read raw memory bytes from a debugger memoryReference.
Capability-gated: current netcoredbg builds usually return an unsupported error unless they advertise supportsReadMemoryRequest.
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
Args: memory_reference: DAP memoryReference from a variable or stack frame offset: Byte offset from the memory reference count: Number of bytes to read; count=0 returns empty data locally
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": {
"memory_reference": "<memory_reference>"
},
"name": "read_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| offset | No | ||
| memory_reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||