getBaziChart
Calculate a complete BaZi (Four Pillars of Destiny) chart from solar or lunar birth datetime and gender. Returns the eight characters, Five Elements, Ten Gods, Hidden Stems, and Decade Fortune.
Instructions
Calculate a complete BaZi (Four Pillars of Destiny) chart from birth datetime. Returns the eight characters, Five Elements, Ten Gods, Hidden Stems, Decade Fortune, and more. 根据出生时间计算完整八字命盘。
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>"
},
"name": "getBaziChart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | Yes | 0 = female, 1 = male. 0=女,1=男。 | |
| lunarDatetime | No | Lunar birth datetime, e.g. "2000-5-5 12:00:00". 农历出生时间。 | |
| solarDatetime | No | Birth datetime in ISO format, e.g. "2000-01-15T12:00:00+08:00". 公历出生时间。 | |
| eightCharProviderSect | No | Late Zi hour config. 1 = next day, 2 = same day (default). 早晚子时:1=明天,2=当天。 |