chinese_bazi
Calculate a Chinese Ba Zi (Four Pillars of Destiny) chart to analyze your fate pillars. Input birth date and time to get Year, Month, Day, and Hour stems and branches, Day Master element, and Wu Xing breakdown for destiny interpretation.
Instructions
Calculate a Chinese Ba Zi (Four Pillars of Destiny) chart. Returns the Year, Month, Day, and Hour pillars, each containing a Heavenly Stem and Earthly Branch pair. Also includes the Day Master element, Wu Xing element breakdown, and basic interpretation context.
CREDIT COST: 1 credit per call.
You can provide either a datetime string (which will be decomposed automatically) or explicit year/month/day/hour values.
EXAMPLE: Ba Zi for someone born July 15, 1987 at 2:00 PM: year=1987, month=7, day=15, hour=14
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Gregorian birth year, e.g. 1987. | |
| month | No | Birth month (1-12). | |
| day | No | Birth day of month (1-31). | |
| hour | No | Birth hour (0-23). Optional, defaults to 12 (noon). Chinese hours (shí) are 2-hour blocks, so precision within a 2-hour window is sufficient. | |
| datetime | No | Alternative: ISO 8601 datetime (e.g. '1987-07-15T14:00:00'). If provided, year/month/day/hour are extracted automatically. Use this OR the individual year/month/day fields, not both. |