Get JavaScript Analysis
get_js_analysisAnalyze JavaScript execution for a URL to identify boot-up time, main thread work, unused code, and costly scripts, helping optimize web performance.
Instructions
Get JavaScript execution analysis for a URL. Returns JS boot-up time, main thread work breakdown, unused JavaScript, and the most expensive scripts by execution time.
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_js_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to analyze (e.g., https://example.com) | |
| strategy | No | Device strategy for the analysis | mobile |