score_component
Retrieve the latest health score for any web component, including grade, dimension scores, and issues. Optionally enable multi-dimensional enterprise scoring with 11 dimensions.
Instructions
Returns the latest health score for a single web component, including grade, dimension scores, and issues. Set multiDimensional=true for the full 11-dimension enterprise scoring with tier gates.
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": {
"tagName": "<tagName>"
},
"name": "score_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | The tag name of the component to score (e.g. "my-button"). | |
| libraryId | No | The library ID to scope the health history lookup (default: "default"). | |
| multiDimensional | No | When true, returns the full multi-dimensional health score with 11 dimensions, enterprise grade algorithm, and confidence levels. Default: false for backward compatibility. | |
| libraryRoot | No | Optional absolute path to the consuming library root (e.g. /path/to/helix). When provided alongside multiDimensional=true, enables helix-AAA evidence collection (helixMeta, aaa-verdicts.json, AAA-AUDIT.md sidecar, source-level checks) that the 8 split a11y dims score against. Omit to skip source-level checks and fall back to CEM-only evidence. |