proxy_add_rule
Add an interception rule to match HTTP requests and define handling via passthrough, mock, forward, or drop. Rules are evaluated by priority, first match wins.
Instructions
Add an interception rule with a matcher and handler. Rules are evaluated by priority (ascending), first match wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handler | Yes | What to do with matched requests | |
| matcher | Yes | Conditions to match requests | |
| priority | No | Priority (lower = higher priority, default: 100) | |
| description | Yes | Human-readable description of this rule |