Analyze Subresource Integrity
sri_analysisInventory external scripts and stylesheets for a URL and measure Subresource Integrity coverage, highlighting missing or invalid SRI attributes.
Instructions
Inventory external script and stylesheet resources and measure Subresource Integrity coverage.
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": "sri_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| resources | Yes | ||
| coverage_percent | Yes |