get_performance_metrics
Collect renderer performance metrics from a running Electron app, such as JS heap, layout count, and task duration, to diagnose UI slowdowns and rendering issues.
Instructions
Renderer Performance.getMetrics (JS heap, layout count, task duration, …)
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": "get_performance_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |