get_process_memory
Retrieve RSS, VMS, and largest memory mappings for a Linux process by providing its PID. Limit the number of mapping entries returned, sorted by RSS.
Instructions
Read RSS, VMS, and the largest memory mappings for one process.
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_process_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Operating-system process ID | |
| mapping_limit | No | Maximum mappings returned, sorted by RSS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| name | Yes | ||
| source | Yes | ||
| mappings | Yes | ||
| rss_bytes | Yes | ||
| vms_bytes | Yes | ||
| captured_at | Yes | ||
| total_mappings | Yes | ||
| returned_mappings | Yes |