---
updatedAt: 2026-09-01T16:18:46.000Z
---

Fetch the complete documentation index at: https://developers.wabbit.gg/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Require

# Require

Stop the command unless a condition is met, optionally running fallback steps

## Fields

| Field        | Type           | Required | Description                                                                                      |
| ------------ | -------------- | -------- | ------------------------------------------------------------------------------------------------ |
| `conditions` | condition tree | yes      | Same grammar as if.condition.                                                                    |
| `onFail`     | array of steps | no       | Runs when the condition fails; the ENTIRE run halts after onFail finishes, not just this branch. |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "require",
  "conditions": {
    "op": ">=",
    "a": {
      "path": "user.coins"
    },
    "b": {
      "literal": 50
    }
  },
  "onFail": []
}
```