take_heapsnapshot
Capture a heap snapshot to analyze JavaScript memory distribution and debug memory leaks in the current page.
Instructions
Capture a heap snapshot of the target page. Use to analyze the memory distribution of JavaScript objects and debug memory leaks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Targets a specific page by ID. | |
| filePath | Yes | A path to a .heapsnapshot file to save the heapsnapshot to. |