memory.heap.snapshot
Capture a labeled heap snapshot streamed to an artifact so you can compare memory states later and diagnose leaks or growth in Chromium pages.
Instructions
Take a heap snapshot, streamed straight to an artifact. Label it so you can diff two of them later.
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 |
|---|---|---|---|
| label | No | ||
| save_path | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| collect_garbage | No |