live · Developer Tools · JSON · API for agents
Get Core Web Vitals data for a URL
{
"name": "getCWV",
"kind": "read",
"impl": "imperative",
"description": "Get Core Web Vitals data for a URL",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL to get Core Web Vitals data for"
},
"period": {
"type": "number",
"description": "The collection period count in weeks, up to 40"
},
"origin": {
"type": "string",
"description": "Whether to use origin or url for fetching data, either \"origin\" or \"url\""
},
"device": {
"type": "string",
"description": "The device form factor to filter by, either \"all\", \"phone\", or \"desktop\", default is \"all\""
}
}
}
}