页面性能摘要
browser_performanceSummarize active tab performance metrics—navigation timing, FCP, resource size, JS heap, and DOM size—to diagnose slow pages without DevTools.
Instructions
Summarize performance metrics of the active tab: navigation timing (TTFB / DOMContentLoaded / load), First Contentful Paint, resource count and transfer size, slowest resources, JS heap usage and DOM size. Read-only diagnostics for slow pages; no DevTools needed.
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": "browser_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab id (default: active tab) | |
| slowest | No | How many slowest resources to list (default 5, max 20) |