get_memory_map
Breaks down a process's memory region by region like VMMap, showing committed, resident, and private usage, largest allocations, and executable private memory after opening the process.
Instructions
A process' memory region by region, in the manner of VMMap: how much of it is the program and its DLLs, mapped files, heaps, thread stacks and private data, each with what is committed and what is in RAM now (and of that what only this process uses), and its largest allocations with what each is. Private memory that may be executed is marked (often a JIT, sometimes injected code). OPENS THE PROCESS to read its address space: the first call is refused with the risks; call again with force=true only if the user agreed. Call it twice a while apart to see what grows: get_leaks says which processes keep growing.
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": {
"pid": "<pid>"
},
"name": "get_memory_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID. | |
| top | No | How many of its largest allocations (1 to 200, default 20). | |
| force | No | True only after the user agreed to the risk this tool described. |