get_lcp_opportunities
Identify Large Contentful Paint (LCP) optimization opportunities for a website by analyzing its performance. Input the URL, choose a device type, and set thresholds to receive actionable recommendations for improving LCP.
Instructions
Get LCP optimization opportunities for a website
Input Schema
Name | Required | Description | Default |
---|---|---|---|
device | No | Device to emulate (default: desktop) | desktop |
includeDetails | No | Include detailed metrics and recommendations | |
threshold | No | LCP threshold in seconds (default: 2.5) | |
url | Yes | URL to audit |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"device": {
"default": "desktop",
"description": "Device to emulate (default: desktop)",
"enum": [
"desktop",
"mobile"
],
"type": "string"
},
"includeDetails": {
"default": false,
"description": "Include detailed metrics and recommendations",
"type": "boolean"
},
"threshold": {
"description": "LCP threshold in seconds (default: 2.5)",
"minimum": 0,
"type": "number"
},
"url": {
"description": "URL to audit",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}