match_rules
Match rules against a given scene or topic to find applicable rules with scores. Use before generating a response to ensure relevance.
Instructions
Match rules against a scene/topic and return applicable rules with scores. Use this to find which rules apply to a given context before generating a response.
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": {
"scene": "<scene>"
},
"name": "match_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | The scene/topic to match rules against (e.g., 'database design', 'code review process') | |
| scopes | No | Filter by scopes (optional, defaults to all) |