cast_hexagram
Cast a hexagram for an I-Ching consultation. Returns the primary hexagram, the six lines (6=old yin, 7=young yang, 8=young yin, 9=old yang from bottom to top), any moving lines, and the changing hexagram if there are moving lines. Pass seed to make the cast deterministic (useful for testing or for reproducing a reading).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional seed for deterministic casting. | |
| method | No | coins = three-coin toss (most common); yarrow = traditional 50-stalk probabilities; random = uniformly pick one of the 64 hexagrams with no moving lines. | coins |
| question | No | The question being asked (not used for casting, returned in result for context). |