Create rule
create_ruleStore a standing rule: a condition and the conclusion or action that applies when it holds (e.g. a project constraint or a convention).
The rule is saved as active in NEXUS's rule registry and returned by
list_rules. Its confidence decreases over time unless it is re-verified
with affirm_rule.
Args:
name: Short descriptive name for the rule.
condition: When the rule applies, in natural language.
action: The conclusion or action that applies when the condition
holds, in natural language.
domain: Optional category for the rule (default 'general').
confidence: Initial confidence weight in [0.0, 1.0] (default 1.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| action | Yes | ||
| domain | No | ||
| condition | Yes | ||
| confidence | No |