---
updatedAt: 2026-09-01T16:18:44.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.

# Random

# Random

Run one of several branches, picked by weight

## Fields

| Field      | Type                                         | Required | Description                                                           |
| ---------- | -------------------------------------------- | -------- | --------------------------------------------------------------------- |
| `branches` | array of { id, weight, steps }, 1-20 entries | yes      | weight must be > 0. Exactly one branch is picked, weighted by weight. |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "random",
  "branches": [
    {
      "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q2",
      "weight": 1,
      "steps": []
    }
  ]
}
```