meihua_basic
Generate Plum Blossom divination hexagrams using lunar date/time or two numbers, providing hexagram details and body-use analysis.
Instructions
梅花易數排盤(基礎排盤)。
支持兩種起卦方式:
時間起卦(method='time'):根據農曆年月日時起卦
數字起卦(method='number'):根據兩個數字起卦
返回完整的梅花盤面:
本卦/變卦/互卦
上卦/下卦(含卦象、五行)
動爻位置
體用分析(體卦、用卦、五行生剋關係)
起卦數據詳情
時間起卦算法(農曆):
上卦 = (年干支序數 + 月 + 日) % 8
下卦 = (年干支序數 + 月 + 日 + 時辰序數) % 8
動爻 = (年干支序數 + 月 + 日 + 時辰序數) % 6
輸出為 Markdown 格式,便於 AI 分析解讀。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | 起卦方式:time=時間起卦,number=數字起卦 | |
| year | No | 起卦年份(公曆,time 模式必填) | |
| month | No | 起卦月份(1-12,time 模式必填) | |
| day | No | 起卦日期(1-31,time 模式必填) | |
| hour | No | 起卦時辰(0-23,time 模式必填) | |
| isLunar | No | Whether the input date is in lunar calendar (農曆). If true, will be converted to solar calendar internally. | |
| upperNumber | No | 上卦數(number 模式必填) | |
| lowerNumber | No | 下卦數(number 模式必填) | |
| yaoNumber | No | 動爻數(可選,默認用上下卦數之和) |