proxy_add_rule
Add an interception rule with a matcher and handler to intercept, modify, or mock HTTP requests based on priority. First matching rule executes.
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 |
|---|---|---|---|
| description | Yes | Human-readable description of this rule | |
| priority | No | Priority (lower = higher priority, default: 100) | |
| matcher | Yes | Conditions to match requests | |
| handler | Yes | What to do with matched requests |