memory.usage
Reports current JavaScript heap usage and DOM counters for a browser page or target, helping agents diagnose memory growth and DOM size.
Instructions
Current JS heap usage and DOM counters.
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.usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |