rules_config_set_threshold
Override a repository rules threshold when a team agrees on a different limit, such as longer functions in tests.
Instructions
Override a threshold in the repository rules file.
When to use: when a team agrees on a different limit, e.g. longer functions in tests.
Limitations: names must come from rules_config_list_thresholds.
Returns: {rules_file, threshold, value, matching_content_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": {
"repository_path": "<repository_path>",
"threshold_name": "<threshold_name>",
"value": "<value>"
},
"name": "rules_config_set_threshold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| threshold_name | Yes | ||
| repository_path | Yes | ||
| matching_content_path | No | **/* |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||