Hexagram Compatibility
astroway_iching_compatibilityCompares two hexagrams: matching and differing lines, named relations (identical, complement, inverse, nuclear, shared or swapped trigrams), five-phase relations of the lower and of the upper trigrams, and a 0-100 score whose formula is stated in the response (a convention of this API, not a classical measure).
[Group: I Ching (Standalone)] [Endpoint: POST /v1/iching/compatibility] [Required: hexagramA, hexagramB] [Cost: 10 credits (Tier 1)]
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": {
"hexagramA": "<hexagramA>",
"hexagramB": "<hexagramB>"
},
"name": "astroway_iching_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. "planets.name,planets.longitude,houses.cusp". Omit for the whole response. | |
| hexagramA | Yes | King Wen number of the first hexagram. | |
| hexagramB | Yes | King Wen number of the second hexagram. | |
| precision | No | Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| score | No | ||
| phases | No | ||
| source | No | ||
| relations | No | ||
| scoreRule | No | ||
| matchingLines | No | ||
| differingLines | No |