Memory
memoryInspect JS heap size, DOM node counts, and event listeners, or capture DevTools-compatible heap snapshots that summarize large object classes and detached DOM nodes.
Instructions
action "counters": JS heap size, DOM nodes, documents, frames and event listeners. action "snapshot": takes a heap snapshot like the DevTools Memory panel (saved as .heapsnapshot, loadable in DevTools) and summarizes the biggest object classes and detached DOM nodes; needs the full DevTools channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gc | No | Collect garbage first (default true for snapshot). | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| action | No | What to do (default counters). | |
| savePath | No | Absolute file path to save to. Defaults to a file in the kyte-webmcp output folder. |