execute_custom_rules
No side effects on server state.
Execute all custom rules against code or a file.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
path | string | — | Absolute filesystem path to the file to analyze (maximum 500000 bytes). An empty string is treated the same as omitting the field. |
code | string | — | Source code content to analyze directly (maximum 500000 characters; alternative to path). Either path or code must be provided. |
language | string | — | Optional: programming language for filtering rules |
Example
json
{
"name": "execute_custom_rules",
"arguments": {}
}Generated from
TOOL_DEFINITIONSinsrc/server/tools.ts— do not edit by hand. Source: tools.ts.