SonarLint: rule details
sonarlint_get_ruleRetrieves severity, type, and description for a SonarLint rule key so you can understand or document the rule behind an issue.
Instructions
Get details (severity, type, description) for a SonarLint rule key, e.g. 'typescript:S3923'.
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": {
"ruleKey": "<ruleKey>"
},
"name": "sonarlint_get_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleKey | Yes | Rule key, e.g. typescript:S3923 |