四柱排盘(按干支)
bazi_from_pillarsInfers possible birth dates from given Four Pillars (year, month, day, hour) and returns complete BaZi chart data, including multiple candidate results.
Instructions
用户直接给出四柱干支(如「甲子年丙寅月戊辰日壬子时」)时调用。已知年柱月柱日柱时柱,反推可能的出生日期并返回完整排盘数据,支持多候选结果。
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_pillar": "<year_pillar>",
"month_pillar": "<month_pillar>",
"day_pillar": "<day_pillar>",
"hour_pillar": "<hour_pillar>"
},
"name": "bazi_from_pillars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | No | 性别,默认 male | |
| day_pillar | Yes | 日柱干支,如 戊辰 | |
| hour_pillar | Yes | 时柱干支,如 壬子 | |
| range_years | No | 往前搜索年数,默认 120 | |
| year_pillar | Yes | 年柱干支,如 甲子 | |
| month_pillar | Yes | 月柱干支,如 丙寅 |