explain_rule
Enter a wemake-python-styleguide violation code (like WPS432) to get a clear explanation of the rule, helping you understand linting errors and how to resolve them.
Instructions
Explain a wemake-python-styleguide rule by code (e.g. WPS432, 432).
Args: code: WPS violation code (e.g. 'WPS432' or '432').
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": {
"code": "<code>"
},
"name": "explain_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |