Take bounded heap snapshot
performance_take_heap_snapshotCapture a Chrome heap snapshot by processing profiling chunks and write it to a local artifact, aborting on truncated data to guarantee completeness.
Instructions
Capture HeapProfiler snapshot chunks from Raw events and write a private local artifact. Fails rather than returning an incomplete snapshot when the Raw buffer truncates.
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": {
"sessionId": "<sessionId>"
},
"name": "performance_take_heap_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| targetSessionId | No | ||
| captureNumericValue | No |