cast_bazi_chart
Generate deterministic BaZi (Four Pillars) charts with True Solar Time correction, shichen boundary checks, ShenSha lookups, branch interactions, and DaYun cycles for birth-chart analysis.
Instructions
Cast a deterministic BaZi (Four Pillars of Destiny / 八字排盘) chart with True Solar Time correction, cross-shichen boundary detection, core ShenSha lookups, branch interactions (presence-only), DaYun cycles, and a stable fact_registry + SHA-256 hash.
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": {
"date": "<date>",
"gender": "<gender>"
},
"name": "cast_bazi_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Birth city name (e.g. 北京, 成都, 乌鲁木齐, Taipei, Singapore, New York) | |
| date | Yes | Birth date in YYYY-MM-DD format | |
| time | No | Birth local clock time in HH:MM (24-hour) | 12:00 |
| gender | Yes | Gender for DaYun direction | |
| calendar | No | Calendar system | solar |
| timezone | No | UTC offset in hours (default 8 for Asia/Shanghai) | |
| longitude | No | Birth longitude in degrees (-180..180); overrides city lookup | |
| day_boundary | No | Day-pillar boundary convention | 23:00 |
| is_leap_month | No | Whether lunar month is a leap month | |
| true_solar_time | No | Apply True Solar Time correction |