profile.start
Start preset-driven browser profiling to record CPU, slow-page, hang, memory-leak, or full activity; reproduce the issue, then stop recording to analyze it.
Instructions
Preset-driven profiling. One call arms every recorder that matters: cpu, slow-page, hang, memory-leak, full. Reproduce the problem, then call profile.stop.
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": "profile.start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | 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. |