match_rules
Match a file path to applicable review rules and merge them into a prompt section for the host LLM.
Instructions
Return applicable review rules for a file path, merged into a prompt_section for the host LLM.
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": {
"path": "<path>"
},
"name": "match_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to match rules against | |
| repo | No | Repo path, default: cwd |