bazi_compute
Compute a BaZi (Four Pillars) chart from a birth datetime in Gregorian, lunar, or direct pillar form and return structured JSON with pillars, strength, pattern, and useful god.
Instructions
输入出生时间(公历、农历或直接给四柱),返回八字命盘 JSON:四柱、身强弱、格局、用神。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| hour | No | ||
| year | No | ||
| month | No | ||
| isMale | No | 男=true,影响大运顺逆 | |
| minute | No | ||
| pillars | No | inputMode=pillar 时用,干支各两字 | |
| timeZone | No | IANA 时区,默认 Asia/Shanghai | |
| inputMode | Yes | solar=公历,lunar=农历,pillar=直接四柱 | |
| longitude | No | 出生地经度。给了就按真太阳时校正 | |
| zishiRule | No | 晚子时日柱归属,默认 sameDay | |
| isLeapMonth | No | 农历闰月,inputMode=lunar 时用 |