coverage_start
Begin tracking JavaScript and CSS code coverage to identify used and unused bytes. Stop coverage to generate a usage report.
Instructions
Start collecting JS/CSS code coverage.
Wraps CDP Profiler.startPreciseCoverage + CSS.startRuleUsageTracking.
Call coverage_stop() to get the usage report (bytes used vs unused).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "coverage_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | ||
| css | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |