Record CPU profile
profiler_cpuStart or stop the CPU profiler on a Chrome tab to capture performance profiles and identify bounded hotspots.
Instructions
Start or stop the CDP CPU profiler and return the profile plus bounded hotspots.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"action": "<action>"
},
"name": "profiler_cpu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| sessionId | Yes | ||
| targetSessionId | No |