Get Performance Score
get_performance_scoreRun a Lighthouse audit to get a website's performance score, with desktop or mobile emulation options for device-specific insights.
Instructions
Get the performance score 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_performance_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to audit | |
| device | No | Device to emulate (default: desktop) | desktop |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| summary | Yes | ||
| recommendations | No |