Cast I Ching
cast_i_chingCast an I Ching hexagram using the traditional three-coin method (default) or the classical yarrow-stalk method, per James Legge's 1899 translation. Generates six line values (6/7/8/9) with the method’s real probabilities (coins: 1/8, 3/8, 3/8, 1/8 for 6/7/8/9; yarrow: 1/16, 5/16, 7/16, 3/16), builds the primary hexagram, lists any changing lines with their texts, and derives the resulting hexagram (null when nothing changes). Pass seed back to replay the exact same cast. The hexagram and line texts are traditional meanings for the calling agent to interpret in light of its own question — this tool does not answer the question itself.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seed": "pipeworx-iching-smoke-1",
"method": "coins",
"question": "Should we ship the chance-pack family?"
},
"name": "cast_i_ching"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional seed for a reproducible cast. Omit for real randomness; the seed used is always returned so the cast can be replayed. | |
| method | No | Divination method. "coins" (default): three-coin toss, six times. "yarrow": classical yarrow-stalk division, with different (narrower) probabilities. | |
| question | No | Optional question being asked of the oracle. Echoed back verbatim in the result; never interpreted by this tool. |