query_rules
Find and retrieve coding rules relevant to your code by specifying language and file path, with optional filtering by tags and match mode.
Instructions
Query rules by language and file path
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": {
"language": "<language>",
"filePath": "<filePath>"
},
"name": "query_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| filePath | Yes | ||
| language | Yes | ||
| maxRules | No | ||
| matchMode | No | ||
| projectId | No | ||
| fileContent | No |