diff_results
Compare before and after Tactual analysis results to identify improvements, regressions, and penalty changes. Use to verify accessibility fixes.
Instructions
Compare two Tactual analysis results (before/after). Shows what improved, regressed, which penalties were resolved or added, and severity band changes per target. Returns a JSON array of {targetId, baselineScore, candidateScore, status, penalties}.
Read-only, no side effects. Use after fixing accessibility issues to verify improvements. Both inputs must be JSON strings from analyze_url (format='json'). Not useful for SARIF output — use analyze_url directly for before/after SARIF comparisons.
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": {
"baseline": "<baseline>",
"candidate": "<candidate>"
},
"name": "diff_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseline | Yes | Baseline analysis result as JSON string | |
| candidate | Yes | Candidate analysis result as JSON string |