Replace project rulesets
statica_ruleset_setReplaces a server project's ruleset selection with the specified IDs and disables all unlisted rulesets. Check the current selection first, then confirm the final list before applying.
Instructions
Replace the server project's ruleset selection. FULL REPLACEMENT: every ruleset not listed is turned off, so call statica_ruleset_show first and build on its current selection. At least one id is required. Applies to everyone using the server project; confirm the final list with the user before calling.
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": {
"projectDir": "<projectDir>",
"rulesetIds": "<rulesetIds>"
},
"name": "statica_ruleset_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | Yes | Absolute path of the project directory being analyzed (usually the session's working directory). | |
| rulesetIds | Yes | Ids of every ruleset that should be on after the call. | |
| localeLanguage | No | Rule display language such as ko_KR or en_US. Omit to keep the current one. |