Skip to main content

violations_resolve

Family: Violations — rule breaks recorded per node, with resolution. See Violations.

Resolve a violation.

@mcp.tool()
def violations_resolve(
dir: str,
violation_id: str,
reason: str = '',
) -> str

Parameters

NameTypeRequired
dirstryes
violation_idstryes
reasonstrno (default '')

Returns str.

Call shape

Fill your values; omit optional parameters:

{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "violations_resolve",
"arguments": {
"dir": "...",
"violation_id": "...",
"reason": "..."
}
}
}