Get Hexagram
get_hexagramOne hexagram by King Wen number (1-64). Optional include level: summary, core (default), lines, full. Sibling tools cover the other cases: get_hexagrams for several numbers at once, get_all_hexagrams for the entire set, search_hexagrams to find hexagrams by text, and get_reading_context for a changing-line reading. 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": {
"id": "<id>"
},
"name": "get_hexagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Hexagram number, 1-64 (King Wen). | |
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| name | No | ||
| image | No | ||
| lines | No | ||
| binary | No | ||
| pinyin | No | ||
| source | No | ||
| essence | No | ||
| hex_font | No | ||
| judgment | No | ||
| trad_chinese | No | ||
| final_comment | No | ||
| trigram_above | No | ||
| trigram_below | No | ||
| symbolic_meaning | No |