getBaziDetail
Generate detailed Bazi (Chinese astrology) information by inputting gender and either solar or lunar date. Use for accurate personality analysis and destiny forecasting.
Instructions
根据时间(公历或农历)、性别来获取八字信息。solarDatetime和lunarDatetime必须传且只传其中一个。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
eightCharProviderSect | No | 早晚子时配置。传1表示23:00-23:59日干支为明天,传2表示23:00-23:59日干支为当天。 | |
gender | Yes | 传0表示女性,传1表示男性。 | |
lunarDatetime | No | 农历时间。例如农历2000年5月初五中午12点整表示为:`2000-5-5 12:00:00`。 | |
solarDatetime | No | 用ISO时间格式表示的公历时间. 例如:`2008-03-01T13:00:00+08:00`。 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"eightCharProviderSect": {
"default": 2,
"description": "早晚子时配置。传1表示23:00-23:59日干支为明天,传2表示23:00-23:59日干支为当天。",
"type": "number"
},
"gender": {
"description": "传0表示女性,传1表示男性。",
"type": "number"
},
"lunarDatetime": {
"description": "农历时间。例如农历2000年5月初五中午12点整表示为:`2000-5-5 12:00:00`。",
"type": "string"
},
"solarDatetime": {
"description": "用ISO时间格式表示的公历时间. 例如:`2008-03-01T13:00:00+08:00`。",
"type": "string"
}
},
"required": [
"gender"
],
"type": "object"
}