memory_heap_snapshot
Capture a V8 heap snapshot of the current page. The .heapsnapshot file is saved locally for memory analysis in Chrome DevTools.
Instructions
Capture a V8 heap snapshot (.heapsnapshot) — drag into DevTools Memory panel.
Large pages produce 50-200MB snapshots. Saved to ~/.mcp-stealth/exports/.
Args:
filename: output name (default timestamped)
stable_ms: consider snapshot complete after no new chunks for this many ms
max_wait: hard cap on wait even if chunks keep arriving
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_heap_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| stable_ms | No | ||
| max_wait | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |