紫微斗数排盘
get_chartGenerate a Zi Wei Dou Shu chart from Gregorian or lunar birth date, time, gender, and optional city; returns twelve-palace structured JSON and an online chart link.
Instructions
根据出生日期(公历或农历)、时间或时辰、性别、可选出生城市,排出紫微斗数命盘,返回十二宫结构化 JSON(宫位、干支、主星亮度、四化、辅星、大限)以及在线命盘链接。内容为传统文化参考。
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": "get_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 出生城市(中国),如「北京」「广东省/深圳」。填了且有具体时间时做真太阳时校正 | |
| date | Yes | 出生日期 YYYY-MM-DD。calendar=lunar 时填农历年月日,如 1990-04-21 | |
| time | No | 出生钟表时间 HH:MM(24 小时制)。已知具体时间时优先填这个 | |
| branch | No | 只知道时辰时填:0–11 或 子/丑/寅/卯/辰/巳/午/未/申/酉/戌/亥 | |
| gender | Yes | 'male' 男 或 'female' 女 | |
| lateZi | No | 子时出生且为晚子时(23:00–23:59)时为 true,按次日排盘 | |
| calendar | No | 'solar' 公历(默认)或 'lunar' 农历 | |
| ignoreDst | No | 1986–1991 夏令时期间,所填已是标准时间时为 true;默认自动减 1 小时 | |
| leapMonth | No | 农历闰月时为 true |