Get page performance metrics
performance_get_metricsRetrieve performance metrics from a selected Chrome tab using CDP. Obtain key browser performance values like CPU, memory, and timing to analyze and diagnose performance issues.
Instructions
Return the selected target's CDP Performance.getMetrics values.
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>"
},
"name": "performance_get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| targetSessionId | No |