oc_vitals
Collect real user metrics like LCP, CLS, INP, TTFB, and FCP from a browser tab using existing performance data, without injecting any page scripts.
Instructions
Collect a read-only Web Vitals snapshot from the current page without adding page scripts or package dependencies. Returns LCP, CLS, INP, TTFB, and FCP with Core Web Vitals ratings where browser timing entries are available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | REQUIRED Tab ID to collect Web Vitals from. | |
| timeoutMs | No | Maximum collection time in ms. Default 5000, min 100, max 30000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| tabId | Yes | ||
| vitals | Yes | ||
| source | Yes | ||
| noDependency | Yes |