validate_custom_pattern
No side effects on server state.
Validate a custom pattern before adding it as a rule.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | Unique identifier for the rule |
pattern | string | ✅ | Regex pattern to validate |
message | string | ✅ | Issue title/message |
severity | string `(low | medium | high |
category | string `(dependency | code-quality | architecture |
Example
json
{
"name": "validate_custom_pattern",
"arguments": {
"id": "example",
"pattern": "example",
"message": "example",
"severity": "example",
"category": "example"
}
}Generated from
TOOL_DEFINITIONSinsrc/server/tools.ts— do not edit by hand. Source: tools.ts.