memory.gc
Force garbage collection before a snapshot so only genuinely retained objects appear, helping distinguish real memory usage from collectable data.
Instructions
Force a garbage collection, so a following snapshot only shows genuinely retained objects.
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.gc"
}
}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. |