MemorySnapshotGet
Inspect one memory snapshot view—header, memory by kind, object ranking, children, or referrers—to diagnose ABAP memory usage and identify what an object holds or what holds it.
Instructions
[read-only] [debug] One memory snapshot in a view: header, memory by kind, largest objects, an object's children or its referrers. Needs the memory snapshot authorization. Runs outside batch mode.
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": {
"snapshot_id": "<snapshot_id>"
},
"name": "MemorySnapshotGet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Object key, for children and references. | |
| view | No | header: the snapshot; overview: memory by kind; ranking: the largest objects; children: what an object holds; references: what holds an object. | overview |
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| max_objects | No | Objects in a ranking, children or references answer. | |
| snapshot_id | Yes | Snapshot id. |