calculate_true_solar_bazi
Calculates minute-precision Four Pillars (Bazi) charts using True Solar Time, longitude, Equation of Time, and China DST corrections; returns calibrated pillar diffs and classical canon matches.
Instructions
Calculate deterministic True Solar Time (Equation of Time + longitude + 1986-1991 PRC DST rollback), minute-precision 24 Solar Terms Four Pillars (Bazi) chart, uncalibrated vs calibrated pillar diff, matched Di Tian Sui (滴天髓) & Qiong Tong Bao Jian (穷通宝鉴) public-domain canons, and anti-hedging output constraints.
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>",
"birth_time": "<birth_time>"
},
"name": "calculate_true_solar_bazi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Birth city name in Chinese or English (360+ Chinese cities & 35+ global cities built-in). | 北京 |
| gender | No | Gender ('male' for 乾造, 'female' for 坤造), used for clockwise/counter-clockwise 10-year luck cycles. | male |
| zi_mode | No | Zi-hour day rollover rule: '23:00' advances day pillar at 23:00; '00:00' keeps current day pillar during 23:00-23:59 (late Zi). | 23:00 |
| latitude | No | Optional custom latitude (-90..90). | |
| longitude | No | Optional custom longitude (-180..180, East positive) overriding city lookup. | |
| birth_date | Yes | Gregorian birth date in YYYY-MM-DD format (e.g. '1988-07-15'). | |
| birth_time | Yes | Wall-clock birth time in HH:MM or HH:MM:SS format (e.g. '00:30'). Unknown birth time is rejected. |