Manage Routing Rule
manage_routing_ruleAdd, remove, enable, or disable policy routing rules using a composite key for idempotency, with optional dry-run mode for previewing changes.
Instructions
Add, remove, enable, or disable a policy routing rule. Idempotent by srcAddress+dstAddress+interface+table composite key. Supports dry-run mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| action | Yes | Action to perform | |
| table | Yes | Routing table name — part of the composite idempotency key; required for all actions | |
| srcAddress | No | Source CIDR to match | |
| dstAddress | No | Destination CIDR to match | |
| interface | No | Incoming interface to match | |
| priority | No | Rule priority (0–4294967295) | |
| dryRun | No | Preview changes without applying |