Get Mock Rule Diagnostics
get_mock_rule_diagnosticsInspect one mock rule. view 'drift' (default) compares the rule against the latest published spec version and lists what changed since it was pinned; view 'state' returns the stored state of a stateful rule.
Instructions
Inspect one mock rule. view 'drift' (default) compares the rule against the latest published spec version and lists what changed since it was pinned; view 'state' returns the stored state of a stateful rule. Use this to inspect one rule's drift or match history; to browse the rules use list_mock_rules. Requires project context.
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": {
"ruleId": "<ruleId>"
},
"name": "get_mock_rule_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | What to inspect: 'drift' (default) or 'state' | drift |
| ruleId | Yes | The public Id (Guid) of the mock rule |