execute_custom_rules
Apply custom rules to source code or files to detect technical debt and code quality issues, providing actionable insights for prioritization.
Instructions
Execute all custom rules against code or a file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "execute_custom_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute filesystem path to the file to analyze (maximum 500000 bytes). An empty string is treated the same as omitting the field. | |
| code | No | Source code content to analyze directly (maximum 500000 characters; alternative to path). Either path or code must be provided. | |
| language | No | Optional: programming language for filtering rules |