Get LCP Opportunities
get_lcp_opportunitiesIdentify what slows down Largest Contentful Paint and how to fix it. Run audits on desktop or mobile, set an LCP threshold, and receive actionable optimization opportunities.
Instructions
Get LCP optimization opportunities for a website
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": {
"url": "<url>"
},
"name": "get_lcp_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to audit | |
| device | No | Device to emulate (default: desktop) | desktop |
| threshold | No | LCP threshold in seconds (default: 2.5) | |
| includeDetails | No | Include detailed metrics and recommendations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| summary | Yes | ||
| recommendations | No |