Calculate a BaZi chart
calculate_bazi_chartCalculates a BaZi (Four Pillars of Destiny, 八字 / 四柱推命 / 사주) chart for one person from their birth details, using FateSign's calendar engine with time zones, historical daylight saving, True Solar Time and solar-term boundaries. Returns the four pillars with hidden stems, Ten Gods, Twelve Stages, Na Yin and Shen Sha; the Five Elements balance, seasonal strength and relations; the luck cycles (Da Yun), the annual pillars of the current cycle and the monthly pillars of focus_year; the matched birthplace and time corrections; and links to FateSign pages in the requested language.
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": {
"gender": "<gender>",
"birth_date": "<birth_date>"
},
"name": "calculate_bazi_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the labels in the result. Match the user's language. | en |
| gender | Yes | Sets the direction of the luck cycles. | |
| calendar | No | Use lunar only when the user gives a Chinese lunar-calendar date. | solar |
| timezone | No | IANA time zone such as Asia/Shanghai. Only when the birthplace is unknown; True Solar Time is then not applied. | |
| birth_date | Yes | Birth date as YYYY-MM-DD. With calendar=lunar this is the lunar year, month and day. | |
| birth_time | No | Local clock time at birth, 24-hour HH:MM. null when the user does not know it (the hour pillar is then omitted). Do not adjust it for daylight saving or solar time. | |
| focus_year | No | Year for the annual and monthly pillars. Defaults to the current year. | |
| birth_place | No | Birth city and country, e.g. 'Osaka, Japan'. Used for the time zone, daylight saving and True Solar Time. Required unless timezone is given. | |
| lunar_leap_month | No | True when a lunar date falls in a leap month. |