start_cpu_profile
Start V8 CPU profiling on an Electron page target to capture performance data, then pair with stop_cpu_profile to end the session.
Instructions
Start V8 CPU profiler on a page target (pair with stop_cpu_profile)
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": "start_cpu_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |