BaZi four pillars
get_bazi_chartCalculate a Chinese BaZi chart: the year, month, day and hour pillars (heavenly stems and earthly branches with Chinese characters and pinyin), the Day Master, the five elements count, the year animal, with approved plain meanings and a link to the free BaZi page. Use when someone asks "my BaZi", "four pillars of destiny", "my Day Master", "what element am I" or "my Chinese zodiac element". Month and year change at exact solar terms (Li Chun, not January 1), found with an ephemeris. birth_time is optional: without it the chart has three pillars and the result says so.
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>"
},
"name": "get_bazi_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | Birthplace latitude, if the city is not found. Optional. | |
| longitude | No | Birthplace longitude (east positive), with latitude. Optional. | |
| time_zone | No | IANA time zone of the birthplace, e.g. America/Chicago. Work it out from the birthplace. Needed with a birth_time unless birth_place is in our list. | |
| birth_date | Yes | Birth date, YYYY-MM-DD. | |
| birth_time | No | Local birth time, 24-hour HH:MM. Leave out if unknown. | |
| birth_place | No | Birthplace as city, region, country, e.g. Austin, Texas, United States. Gives coordinates (and the time zone if time_zone is left out). |