get_performance_metrics
Fetch renderer performance metrics such as JS heap, layout count, and task duration to diagnose Electron app performance 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. |