BaZi (Four Pillars) chart
bazi_chartCalculate a BaZi / Four Pillars of Destiny chart from a birth date, optional birth time and the birthplace time zone. Uses solar-term boundaries (the year changes at the Start of Spring, Li Chun) via an astronomical calendar engine. Returns the four pillars with Ten Gods, the Day Master, five-element balance, luck pillars and the coming years.
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": {
"birth_date": "<birth_date>",
"timezone": "<timezone>"
},
"name": "bazi_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | No | Needed only for the direction of the luck pillars. | |
| language | No | Output language. Use "ja" when the user writes in Japanese: Japanese card / hexagram names, meanings and links to the Japanese pages. Otherwise "en". | en |
| timezone | Yes | IANA time zone of the birthplace, e.g. "America/New_York" or "Asia/Shanghai". | |
| birth_date | Yes | Gregorian birth date, YYYY-MM-DD (local date at the birthplace). | |
| birth_time | No | Local clock time HH:mm. Omit if unknown (gives a three-pillar chart). |