ziwei_chart
Compute a Zi Wei Dou Shu (紫微斗数) chart: twelve palaces with major/minor stars, brightness and birth-year transformations (四化), five-element bureau, soul/body stars. Uses the same 子时 convention as bazi_chart. Needs the birth hour. Free.
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": {
"year": "<year>",
"month": "<month>",
"day": "<day>",
"hour": "<hour>"
},
"name": "ziwei_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone of the birthplace, e.g. Asia/Shanghai, America/Los_Angeles. Preferred over tz_hours: historical summer time is applied (the mainland observed it 1986–1991, Hong Kong and Taiwan in many earlier years), so a clock time read off a birth certificate in summer time gives the right hour pillar | |
| day | Yes | ||
| hour | Yes | 0-23 local clock hour; omit if unknown | |
| year | Yes | ||
| month | Yes | ||
| gender | No | ||
| minute | No | ||
| zi_rule | No | 子时 convention: 1 = a birth after 23:00 counts as the next day; 2 (default) = same day | |
| tz_hours | No | fixed UTC offset of the birthplace in hours, e.g. 8 (no summer time); used only when tz is absent | |
| longitude | No | birthplace longitude in degrees east, e.g. 103.82 for Singapore |