紫微斗数本命盘
ziwei_chart生成紫微斗数 (Zi Wei Dou Shu / Purple Star Astrology) 完整本命盘。输入阳历或农历出生信息, 返回: 五行局/阴阳/命主身主、十二宫 (主星辅星煞星杂曜+庙旺亮度+生年四化+空宫借星+大限年龄+长生十二神)、生年四化所在宫、格局识别 (30+ 经典格局含古籍出处)、夹宫扫描、真实出生四柱 (万年历按节气)。引擎为 FateStar 自建 (102 颗星, 三合派四化, 真太阳时修正), 0 第三方排盘库。⚠️ 三合派庚干: 化科=天同 / 化忌=太阴。
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>",
"gender": "<gender>"
},
"name": "ziwei_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | 出生日 (1-31) | |
| hour | Yes | 出生小时 0-23 (24 小时制, 非时辰地支) | |
| year | Yes | 出生年 (阳历; calendarType=lunar 时填农历年) | |
| month | Yes | 出生月 (1-12) | |
| gender | Yes | 性别 | |
| minute | No | 出生分钟 (默认 0; 配合 longitude 做真太阳时精修) | |
| longitude | No | 出生地经度 (东经正/西经负). 传了即启用真太阳时修正 | |
| isLeapMonth | No | 是否闰月 (仅 calendarType=lunar 有效) | |
| calendarType | No | 历法: solar=公历(默认) / lunar=农历 | solar |
| timezoneOffset | No | 时区偏移 (UTC+8=8, UTC-5=-5). 需配合 longitude |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 基础 | Yes | ||
| 夹宫 | Yes | ||
| 格局 | Yes | ||
| 输入 | Yes | ||
| service | Yes | ||
| 十二宫 | Yes | ||
| 本命四化 | Yes |