Get Reading Context
get_reading_contextDeterministic reading context for a primary hexagram (1-64) and 0-6 ascending changing lines. Empty changing_lines returns the primary hexagram only; one or more changing lines add the resulting hexagram, the transition, and the changing-line texts. No divination is performed. Data © IChing.Rocks — attribution is a condition of the license terms: https://iching.rocks/mcp-terms.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"primary_id": "<primary_id>",
"changing_lines": "<changing_lines>"
},
"name": "get_reading_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Detail level, each nesting the previous: summary = identity, essence, url; core (default) = adds trigrams, judgment, image; lines = adds the six line texts; full = adds symbolic meaning and final comment. | core |
| primary_id | Yes | Primary hexagram number, 1-64 (King Wen). | |
| changing_lines | Yes | Changing line numbers (1-6), strictly ascending, no duplicates. Empty for an unchanging reading. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| primary | No | ||
| resulting | No | ||
| transition | No | ||
| final_comment | No | ||
| changing_line_texts | No |