performance_metrics
Retrieve page performance metrics from a browser tab, with configurable metric types and optional resource timing entries.
Instructions
Get page performance metrics.
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": {
"tabId": "<tabId>"
},
"name": "performance_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Metrics type. Default: all | |
| tabId | Yes | Tab ID to get metrics from | |
| includeResources | No | Include resource timing entries |