calculate_bazi_chart
Compute exact BaZi Four Pillars, Day Master, and Five Elements from birth data using astronomical solar terms, historical DST, and optional True Solar Time calibration instead of guessing.
Instructions
Deterministically compute exact BaZi (Four Pillars of Destiny / 四柱推命 / 八字) stems, branches, Day Master, and Five Elements using astronomical 24 solar-term transitions, IANA historical DST rollback, and optional birthplace True Solar Time calibration. Always use this instead of guessing pillars.
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": {
"birthDateTime": "<birthDateTime>"
},
"name": "calculate_bazi_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional birthplace city name in English, Japanese, or Chinese (e.g., "Tokyo", "東京", "Taipei", "台北市", "Osaka", "New York"). | |
| timeZone | No | Optional explicit IANA time zone (e.g., "Asia/Tokyo", "Asia/Taipei"). Overrides city lookup. | |
| longitude | No | Optional birthplace longitude in decimal degrees (East positive, e.g., 139.6917 for Tokyo, 121.5654 for Taipei). | |
| birthDateTime | Yes | Local civil birth date and time in "YYYY-MM-DD HH:mm" (or "YYYY-MM-DD" if hour is unknown). Range: 1895-2100. | |
| useTrueSolarTime | No | Apply True Solar Time correction (longitude + NOAA equation of time). Default: true. |