Test a decision table
test_decisionEvaluates a DMN decision table against input cases and returns matching rules and results per hit policy, or flags conflicts; read-only for checking and explaining decisions.
Instructions
Evaluates a DMN decision table of the diagram on input cases, without changing anything: for each case, the rules that apply and the result under the hit policy, or the conflict (two rules under Unique, different outputs under Any). Give each case its input values in column order, or as an object keyed by input label or expression. Without cases, builds one case per rule from its simple entries and says whether each rule fires. Use it after set_decision_table to check the table, and to explain it with examples. Read-only.
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": {
"decisionId": "<decisionId>"
},
"name": "test_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | No | Input cases: each an array of values in column order, or an object { "input label or expression": value }. Omit for one case per rule | |
| decisionId | Yes | Id of the decision, as returned by get_decisions |