Professional AI Astrologer for BaZi, Zi Wei Dou Shu, I Ching, Feng Shui and naming. Free at liki.hk
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
八宅排盘:由已校准 subject 推导出生年与性别,排命卦、四吉四凶方与出生年紫白飞星。住宅风水评估、命卦方位吉凶类问题调用;后续门/主/灶方位配合改用 bazhai_layout。八宅不需要出生时辰,也不与八字四柱合参。
八宅命卦主体。
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http liki https://liki.hk/mcp
八宅排盘:由已校准 subject 推导出生年与性别,排命卦、四吉四凶方与出生年紫白飞星。住宅风水评估、命卦方位吉凶类问题调用;后续门/主/灶方位配合改用 bazhai_layout。八宅不需要出生时辰,也不与八字四柱合参。
| Argument | Type | Description |
|---|---|---|
| subject* | object | 八宅命卦主体。 |
{
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "出生年代表标准时间(无 DST),RFC3339 带 offset;用于立春年界。"
}
},
"description": "八宅命卦主体。",
"additionalProperties": false
}
},
"additionalProperties": false
}八宅门主灶配合:输入命卦与门/主/灶卦,输出各自方向、游年九星与吉凶结论。已由 bazhai_chart 排出命卦、需评估大门/主卧/灶位方位配合时调用;仅覆盖八宅法,玄空飞星另用 xuankong 工具。
| Argument | Type | Description |
|---|---|---|
| door_gua* | string | 门卦。 |
| ming_gua* | string | 命卦。 |
| stove_gua* | string | 灶卦。 |
| master_gua* | string | 主卧卦。 |
{
"type": "object",
"required": [
"ming_gua",
"door_gua",
"master_gua",
"stove_gua"
],
"properties": {
"door_gua": {
"enum": [
"坎",
"坤",
"震",
"巽",
"乾",
"兑",
"艮",
"离"
],
"type": "string",
"description": "门卦。"
},
"ming_gua": {
"enum": [
"坎",
"坤",
"震",
"巽",
"乾",
"兑",
"艮",
"离"
],
"type": "string",
"description": "命卦。"
},
"stove_gua": {
"enum": [
"坎",
"坤",
"震",
"巽",
"乾",
"兑",
"艮",
"离"
],
"type": "string",
"description": "灶卦。"
},
"master_gua": {
"enum": [
"坎",
"坤",
"震",
"巽",
"乾",
"兑",
"艮",
"离"
],
"type": "string",
"description": "主卧卦。"
}
},
"additionalProperties": false
}八字合盘原始事实。用户提供双方出生信息、询问关系配适度(合婚、合作、亲子等)时调用。返回双方日主、四柱干支关系、十神视角、纳音、实盘五行与配偶星/夫妻宫事实;不做合婚评级。需要紫微宫位主星对照时改用 ziwei_bond,两者常配合使用。
| Argument | Type | Description |
|---|---|---|
| a* | object | 甲方:已归一化的出生主体。 |
| b* | object | 乙方:已归一化的出生主体。 |
{
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"description": "甲方:已归一化的出生主体。",
"additionalProperties": false
},
"b": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"description": "乙方:已归一化的出生主体。",
"additionalProperties": false
}
},
"additionalProperties": false
}排八字确定性命盘。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。用户询问本命(性格、婚姻、事业、财运、健康、学业、六亲等)时调用。返回四柱、纳音、大运、十神、藏干、神煞、合会冲刑、扶抑候选、调候候选、格局结构证据与命盘关系事实。
| Argument | Type | Description |
|---|---|---|
| subject* | object | schema 合法的出生主体;可来自用户明确事实或用户确认后的 subject_candidates 候选。 |
{
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "schema 合法的出生主体;可来自用户明确事实或用户确认后的 subject_candidates 候选。",
"additionalProperties": false
}
},
"additionalProperties": false
}八字流盘。scope 显式选择流年、流月、流日、流时或小运;standard_time 为当地标准时间,liu_ri/liu_shi 必须带经度。count=1(默认)返回单层领域数组;count>1 返回连续批量。
No arguments.
{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询年数。"
},
"scope": {
"type": "string",
"const": "liu_nian",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流年选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询月数。"
},
"scope": {
"type": "string",
"const": "liu_yue",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流月选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time",
"longitude"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询日数。"
},
"scope": {
"type": "string",
"const": "liu_ri",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);真太阳时校正用于日柱。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流日选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time",
"longitude"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询时辰数。"
},
"scope": {
"type": "string",
"const": "liu_shi",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);真太阳时校正用于日柱/时柱。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流时选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询小运岁数。"
},
"scope": {
"type": "string",
"const": "xiao_yun",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}schema 合法的出生主体 → 八字排盘与唯一用神裁决。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。返回最终用神、喜神、忌神、状态、冲突、命中规则与来源摘要;起名只消费 selected_yongshen.yong 投影出的目标五行。
| Argument | Type | Description |
|---|---|---|
| subject* | object | 已考时归一化的出生主体。 |
{
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"minLength": 1,
"description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已考时归一化的出生主体。",
"additionalProperties": false
}
},
"description": "八字用神裁决输入。",
"additionalProperties": false
}根据城市名返回城市信息候选(内置表,不访问外链):每项含名称、行政区、层级、经纬度、IANA 时区与可选经度范围。长度 1 可直接使用;多于 1(同名区县等)必须由用户确认,不得静默取第一个。未命中时请询问附近大城市,或让用户直接提供经纬度和时区。
| Argument | Type | Description |
|---|---|---|
| city* | string | 城市名称(中英文均可);同名区县请用省/市限定(如 北京朝阳区)。 |
| locale | string | 可选显示语言:zh-Hans、zh-Hant 或 en;省略时返回内置表原文。 |
{
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "城市名称(中英文均可);同名区县请用省/市限定(如 北京朝阳区)。"
},
"locale": {
"type": "string",
"description": "可选显示语言:zh-Hans、zh-Hant 或 en;省略时返回内置表原文。"
}
},
"additionalProperties": false
}黄历择日查日。用户询问某事项宜忌日期、某日吉凶或黄历宜忌事实时调用;需要日期范围与事项名称。返回连续日期的黄历事实,指定事项时附适配结论与判定依据。命理合参(八字/紫微本命、流年)不走本工具,改用对应排盘与查询工具。
| Argument | Type | Description |
|---|---|---|
| count* | integer | 黄历查询天数,最多30。 |
| event* | string | 事项类型。 |
| standard_time* | string | 查询起始日标准时间(无 DST),RFC3339 带 offset。 |
{
"type": "object",
"required": [
"event",
"standard_time",
"count"
],
"properties": {
"count": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "黄历查询天数,最多30。"
},
"event": {
"enum": [
"wedding",
"engage",
"opening",
"sign",
"move",
"travel",
"build",
"exam",
"medical",
"sacrifice",
"cleaning",
"renovation",
"bed_install",
"income",
"funeral"
],
"type": "string",
"description": "事项类型。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "查询起始日标准时间(无 DST),RFC3339 带 offset。"
}
},
"additionalProperties": false
}一次完成六爻起卦、排盘和结构化解读,适用于以卦象断事的问询(吉凶、成败、得失)。casting=auto 时会新起一卦,同一事禁止自动重试或重复调用;后续追问基于本次 Reading 解释,卦象事实按 schema 原样使用。需要时空方位决策时改用 qimen_ask。
| Argument | Type | Description |
|---|---|---|
| focus* | any | 占问焦点:matter 自动推导用神,或显式指定六亲用神。 |
| topic | string | 可选专题视角;省略时与 matter 相同。 |
| casting | any | 起卦方式;按 schema 选择 auto / coins / yaos,用户手动记录按原顺序组装。 |
| question* | string | 本次要判断的一个具体目标 |
| longitude* | number | 起卦地经度(-180..180);必须显式传入,不做默认(精度要求)。 |
| standard_time* | string | 起卦地标准时间 RFC3339(无 DST),必填。 |
{
"type": "object",
"required": [
"question",
"longitude",
"standard_time",
"focus"
],
"properties": {
"focus": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"matter"
],
"properties": {
"kind": {
"type": "string",
"const": "matter",
"description": "焦点类型:问事类别。"
},
"matter": {
"enum": [
"general",
"self",
"other",
"career",
"wealth",
"relationship",
"study",
"home",
"travel",
"family",
"competition",
"children",
"lost_item",
"legal"
],
"type": "string",
"description": "问事类别;决定用神。"
},
"perspective": {
"anyOf": [
{
"enum": [
"male",
"female"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "问卦人性别视角;matter=relationship 必填。"
}
},
"description": "按问事类别推导用神。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"yong_shen"
],
"properties": {
"kind": {
"type": "string",
"const": "yong_shen",
"description": "焦点类型:显式用神。"
},
"yong_shen": {
"enum": [
"父母",
"兄弟",
"官鬼",
"妻财",
"子孙",
"世爻",
"应爻"
],
"type": "string",
"description": "高级显式用神。"
}
},
"description": "使用显式六亲用神。",
"additionalProperties": false
}
],
"description": "占问焦点:matter 自动推导用神,或显式指定六亲用神。"
},
"topic": {
"enum": [
"career",
"children",
"competition",
"family",
"general",
"health_context",
"home",
"legal",
"lost_item",
"other",
"relationship",
"self",
"study",
"travel",
"wealth"
],
"type": "string",
"description": "可选专题视角;省略时与 matter 相同。"
},
"casting": {
"anyOf": [
{
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"type": "string",
"const": "auto",
"description": "安全随机起卦。"
}
},
"description": "auto:服务端安全随机三枚铜钱起六次。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"mode",
"rounds"
],
"properties": {
"mode": {
"type": "string",
"const": "coins",
"description": "铜钱记录起卦。"
},
"rounds": {
"type": "array",
"items": {
"type": "array",
"items": {
"enum": [
"正",
"反"
],
"type": "string"
},
"maxItems": 3,
"minItems": 3
},
"maxItems": 6,
"minItems": 6,
"description": "六组三枚正/反,顺序为初爻到上爻。"
}
},
"description": "coins:复现历史卦时传入六组三枚正/反记录。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"mode",
"yaos"
],
"properties": {
"mode": {
"type": "string",
"const": "yaos",
"description": "爻值起卦。"
},
"yaos": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9,
"minimum": 6
},
"maxItems": 6,
"minItems": 6,
"description": "六个爻值 6-9,初爻到上爻。"
}
},
"description": "yaos:直接传入六个爻值(复现已知卦)。",
"additionalProperties": false
}
],
"default": {
"mode": "auto"
},
"description": "起卦方式;按 schema 选择 auto / coins / yaos,用户手动记录按原顺序组装。"
},
"question": {
"type": "string",
"minLength": 2,
"description": "本次要判断的一个具体目标"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "起卦地经度(-180..180);必须显式传入,不做默认(精度要求)。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "起卦地标准时间 RFC3339(无 DST),必填。"
}
},
"description": "一次完成六爻排盘与受控解读所需的输入。",
"additionalProperties": false
}查询单个汉字的起名字库事实:字频、五行、笔画、部首、拼音、声调;未收录返回空。适用于挑字或核对单字属性时;从八字取字池、组合候选名、整名评估分别用 naming_pick / naming_compose / naming_check。
| Argument | Type | Description |
|---|---|---|
| char* | string | 要查询的单个汉字。 |
{
"type": "object",
"required": [
"char"
],
"properties": {
"char": {
"type": "string",
"description": "要查询的单个汉字。"
}
},
"description": "单字字库查询输入。",
"additionalProperties": false
}独立评估候选名:长度、字库收录、禁用字与音律校验;selected_yongshen 给定时逐字对照 用/喜/忌 五行计划并返回角色。selected_yongshen 直接使用八字用神裁决返回对象。
| Argument | Type | Description |
|---|---|---|
| given_names* | array | 要评估的名字(单名或双名,1-2 字)。 |
| required_chars | array | 用户要求必含的单字;候选名必须包含全部字符。 |
| forbidden_chars | array | 用户明确避讳的单字;候选名命中任一字即为 invalid。 |
| selected_yongshen | any | 八字用神裁决返回对象;省略时不做五行角色评估。 |
{
"type": "object",
"required": [
"given_names"
],
"properties": {
"given_names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2,
"minLength": 1
},
"maxItems": 200,
"minItems": 1,
"description": "要评估的名字(单名或双名,1-2 字)。",
"uniqueItems": true
},
"required_chars": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1,
"minLength": 1
},
"maxItems": 2,
"description": "用户要求必含的单字;候选名必须包含全部字符。",
"uniqueItems": true
},
"forbidden_chars": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1,
"minLength": 1
},
"maxItems": 32,
"description": "用户明确避讳的单字;候选名命中任一字即为 invalid。",
"uniqueItems": true
},
"selected_yongshen": {
"anyOf": [
{
"type": "object",
"required": [
"selected_yongshen",
"status"
],
"properties": {
"status": {
"enum": [
"resolved",
"partial"
],
"type": "string",
"description": "用神裁决状态;起名只接受 resolved 或 partial。"
},
"selected_yongshen": {
"type": "object",
"required": [
"yong",
"xi",
"ji"
],
"properties": {
"ji": {
"type": "array",
"items": {
"enum": [
"木",
"火",
"土",
"金",
"水"
],
"type": "string"
},
"description": "忌神五行。",
"uniqueItems": true
},
"xi": {
"type": "array",
"items": {
"enum": [
"木",
"火",
"土",
"金",
"水"
],
"type": "string"
},
"description": "Elements that support the selected yongshen.",
"uniqueItems": true
},
"yong": {
"enum": [
"木",
"火",
"土",
"金",
"水",
"无候选"
],
"type": "string",
"description": "用神五行;无候选表示未形成可用选择。"
}
},
"description": "The selected yong/xi/ji five-element plan.",
"additionalProperties": false
}
},
"description": "起名只消费用神裁决中的五行计划与状态;其他裁决上下文不参与校验。",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "八字用神裁决返回对象;省略时不做五行角色评估。"
}
},
"description": "候选名评估输入。",
"additionalProperties": false
}将取字池中的字组合为候选名:单名=first_chars 单字,双名=first_chars×second_chars 两字组合;按 first_chars 顺序生成,最多 max_names 个。字池来自 naming_pick;组合后的候选名评估用 naming_check,单字事实查询用 naming_character。
| Argument | Type | Description |
|---|---|---|
| max_names | integer | 返回候选名上限。 |
| first_chars* | array | 第一位可选字(1-256 个)。 |
| second_chars | array | 第二位可选字(双名用,1-256 个);省略=单名。 |
{
"type": "object",
"required": [
"first_chars"
],
"properties": {
"max_names": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "返回候选名上限。"
},
"first_chars": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4,
"minLength": 1
},
"maxItems": 256,
"minItems": 1,
"description": "第一位可选字(1-256 个)。",
"uniqueItems": true
},
"second_chars": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4,
"minLength": 1
},
"maxItems": 256,
"minItems": 1,
"description": "第二位可选字(双名用,1-256 个);省略=单名。",
"uniqueItems": true
}
},
"description": "候选名组合输入。",
"additionalProperties": false
}按用/喜五行角色取字池:selected_yongshen 直接使用八字用神裁决返回;first_role 与 second_role 选择字位角色,second_role 省略表示单名;生成阶段不提供 ji 字池。字池产出后组合候选名用 naming_compose,组合前查单字事实用 naming_character。
| Argument | Type | Description |
|---|---|---|
| first_role | string | 第一字位角色;只能是 yong 或 xi。 |
| second_role | any | 第二字位角色;省略表示单名,只能是 yong 或 xi。 |
| selected_yongshen* | object | 八字用神裁决返回对象。 |
{
"type": "object",
"required": [
"selected_yongshen"
],
"properties": {
"first_role": {
"enum": [
"yong",
"xi"
],
"type": "string",
"default": "yong",
"description": "第一字位角色;只能是 yong 或 xi。"
},
"second_role": {
"anyOf": [
{
"enum": [
"yong",
"xi"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "第二字位角色;省略表示单名,只能是 yong 或 xi。"
},
"selected_yongshen": {
"type": "object",
"required": [
"selected_yongshen",
"status"
],
"properties": {
"status": {
"enum": [
"resolved",
"partial"
],
"type": "string",
"description": "用神裁决状态;起名只接受 resolved 或 partial。"
},
"selected_yongshen": {
"type": "object",
"required": [
"yong",
"xi",
"ji"
],
"properties": {
"ji": {
"type": "array",
"items": {
"enum": [
"木",
"火",
"土",
"金",
"水"
],
"type": "string"
},
"description": "忌神五行。",
"uniqueItems": true
},
"xi": {
"type": "array",
"items": {
"enum": [
"木",
"火",
"土",
"金",
"水"
],
"type": "string"
},
"description": "Elements that support the selected yongshen.",
"uniqueItems": true
},
"yong": {
"enum": [
"木",
"火",
"土",
"金",
"水",
"无候选"
],
"type": "string",
"description": "用神五行;无候选表示未形成可用选择。"
}
},
"description": "The selected yong/xi/ji five-element plan.",
"additionalProperties": false
}
},
"description": "八字用神裁决返回对象。",
"additionalProperties": true
}
},
"description": "按用/喜角色取字池的输入。",
"additionalProperties": false
}按发音匹配候选姓氏:源姓(拉丁拼音/英文拼写)→ 同音/近音/罗马化别名匹配的百家姓候选(pinyin_exact / romanization_exact / phonetic_close),无匹配时按百家姓顺序回退。仅处理姓氏;名字用字与五行核对由 naming_pick / naming_check 负责。
| Argument | Type | Description |
|---|---|---|
| max_candidates | integer | 返回候选数上限。 |
| source_surname* | string | 源姓氏的拉丁拼音或英文拼写(如 zhang / chan / lee)。 |
{
"type": "object",
"required": [
"source_surname"
],
"properties": {
"max_candidates": {
"type": "integer",
"default": 6,
"maximum": 12,
"minimum": 1,
"description": "返回候选数上限。"
},
"source_surname": {
"type": "string",
"description": "源姓氏的拉丁拼音或英文拼写(如 zhang / chan / lee)。"
}
},
"description": "按发音匹配姓氏的输入。",
"additionalProperties": false
}schema 合法的出生主体 + 起始年号/年数 + 人生问题 → 八字与紫微逐年流年合参断语。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。因子计算由服务端内部完成;year_count=1 表示单年,单次最多 50 年。
| Argument | Type | Description |
|---|---|---|
| subject* | object | 已考时归一化的出生主体。 |
| start_year* | integer | 起始流年年号。 |
| year_count* | integer | 连续查询年数。 |
| life_topics* | array | 人生问题域(同 natal_query)。 |
{
"type": "object",
"required": [
"subject",
"start_year",
"year_count",
"life_topics"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"minLength": 1,
"description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已考时归一化的出生主体。",
"additionalProperties": false
},
"start_year": {
"type": "integer",
"minimum": 1,
"description": "起始流年年号。"
},
"year_count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "连续查询年数。"
},
"life_topics": {
"type": "array",
"items": {
"enum": [
"marriage",
"family",
"children",
"career",
"wealth",
"health",
"mental",
"study",
"personality",
"appearance",
"origin",
"relocation",
"social",
"property",
"adversity",
"chart_structure"
],
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"description": "人生问题域(同 natal_query)。",
"uniqueItems": true
}
},
"description": "八字与紫微流年合参断语输入。",
"additionalProperties": false
}schema 合法的出生主体 + 人生问题 → 八字与紫微本命合参断语。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。因子计算由服务端内部完成,不对外返回。
| Argument | Type | Description |
|---|---|---|
| subject* | object | 已考时归一化的出生主体。 |
| life_topics* | array | 人生问题域。 |
{
"type": "object",
"required": [
"subject",
"life_topics"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"minLength": 1,
"description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已考时归一化的出生主体。",
"additionalProperties": false
},
"life_topics": {
"type": "array",
"items": {
"enum": [
"marriage",
"family",
"children",
"career",
"wealth",
"health",
"mental",
"study",
"personality",
"appearance",
"origin",
"relocation",
"social",
"property",
"adversity",
"chart_structure"
],
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"description": "人生问题域。",
"uniqueItems": true
}
},
"description": "八字与紫微本命合参断语输入。",
"additionalProperties": false
}一次完成奇门起局、因子投影和结构化解读,适用于需要时空方位信息的决策类问题(出行、谈判、寻物、择时方位等)。同一事禁止重新排局,后续追问基于本次 Reading 解释;起卦问事(得卦象而非方位盘)改用 liuyao_ask。
| Argument | Type | Description |
|---|---|---|
| rule | string | 可选专占规则;由因子契约校验适用盘型 |
| focus | any | 普通事象或显式用神;quarter / specialized rule 可按规则省略。 |
| method* | any | 奇门方法事实;用户未指定高级方法时按 schema 描述选择常规组合,不臆造高级参数。 |
| subject | any | 可选命主;提供时用于年命干落宫;金函玉镜不接受。 |
| question* | string | 本次要判断的一个具体目标 |
| longitude* | number | 起局地经度(-180..180);必须显式传入,城市需先转换为经度。 |
| standard_time* | string | 起局地标准时间 RFC3339(无 DST);来自用户明确事实或既有工具结果,节气换局按此时刻判定。 |
{
"type": "object",
"required": [
"question",
"standard_time",
"method",
"longitude"
],
"properties": {
"rule": {
"enum": [
"lost_property",
"thief_capture",
"missing_person",
"capture_escape",
"thief_profile"
],
"type": "string",
"description": "可选专占规则;由因子契约校验适用盘型"
},
"focus": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"matter"
],
"properties": {
"kind": {
"type": "string",
"const": "matter",
"description": "焦点类型:普通事象。"
},
"matter": {
"enum": [
"career",
"health",
"hiding",
"legal",
"missing_person",
"relationship",
"study",
"travel",
"wealth"
],
"type": "string",
"description": "普通事象。"
}
},
"description": "按普通事象推导奇门用神。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"yong_shen"
],
"properties": {
"kind": {
"type": "string",
"const": "yong_shen",
"description": "焦点类型:显式用神。"
},
"yong_shen": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "盘面符号:九星/八门/八神/天干等。",
"uniqueItems": true
}
},
"description": "显式指定奇门用神符号。",
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "普通事象或显式用神;quarter / specialized rule 可按规则省略。"
},
"method": {
"anyOf": [
{
"type": "object",
"required": [
"scope",
"school",
"dingju_method"
],
"properties": {
"scope": {
"type": "string",
"const": "hour",
"description": "时家奇门。"
},
"school": {
"type": "string",
"const": "zhuanpan",
"description": "转盘法。"
},
"dingju_method": {
"enum": [
"chaibu",
"zhirun",
"maoshan"
],
"type": "string",
"description": "定局法。"
}
},
"description": "时家奇门 + 转盘法;定局法可选,缺省拆补。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school",
"dingju_method"
],
"properties": {
"scope": {
"type": "string",
"const": "hour",
"description": "时家奇门。"
},
"school": {
"type": "string",
"const": "luoshu_feipan",
"description": "洛书飞盘法。"
},
"dingju_method": {
"enum": [
"chaibu",
"zhirun"
],
"type": "string",
"description": "定局法。"
}
},
"description": "时家奇门 + 洛书飞盘法;定局法可选,缺省拆补。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school"
],
"properties": {
"scope": {
"type": "string",
"const": "hour",
"description": "时家奇门。"
},
"school": {
"type": "string",
"const": "mingfa_feipan",
"description": "鸣法飞盘;定局由盘式固定。"
}
},
"description": "时家奇门 + 鸣法飞盘法;盘式固定定局。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school",
"dingju_method"
],
"properties": {
"scope": {
"type": "string",
"const": "day",
"description": "日家奇门。"
},
"school": {
"type": "string",
"const": "zhuanpan",
"description": "转盘法。"
},
"dingju_method": {
"enum": [
"chaibu",
"zhirun"
],
"type": "string",
"description": "定局法。"
}
},
"description": "日家奇门 + 转盘法;定局法可选,缺省拆补。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school",
"dingju_method"
],
"properties": {
"scope": {
"type": "string",
"const": "day",
"description": "日家奇门。"
},
"school": {
"type": "string",
"const": "luoshu_feipan",
"description": "洛书飞盘法。"
},
"dingju_method": {
"enum": [
"chaibu",
"zhirun"
],
"type": "string",
"description": "定局法。"
}
},
"description": "日家奇门 + 洛书飞盘法;定局法可选,缺省拆补。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school"
],
"properties": {
"scope": {
"type": "string",
"const": "month",
"description": "月家周期奇门。"
},
"school": {
"enum": [
"zhuanpan",
"luoshu_feipan"
],
"type": "string",
"description": "盘式流派。"
}
},
"description": "月家周期奇门;转盘或洛书飞盘。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school"
],
"properties": {
"scope": {
"type": "string",
"const": "year",
"description": "年家周期奇门。"
},
"school": {
"enum": [
"zhuanpan",
"luoshu_feipan"
],
"type": "string",
"description": "盘式流派。"
}
},
"description": "年家周期奇门;转盘或洛书飞盘。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school",
"quarter_rule"
],
"properties": {
"scope": {
"type": "string",
"const": "quarter",
"description": "刻家奇门。"
},
"school": {
"type": "string",
"const": "zhuanpan",
"description": "转盘法。"
},
"quarter_rule": {
"type": "string",
"const": "ten_minute_sanyuan",
"description": "十分钟三元刻家。"
}
},
"description": "刻家奇门:十分钟三元刻家。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school",
"quarter_rule",
"base_dingju_method",
"dun_source",
"hour_boundary"
],
"properties": {
"scope": {
"type": "string",
"const": "quarter",
"description": "刻家奇门。"
},
"school": {
"type": "string",
"const": "zhuanpan",
"description": "转盘法。"
},
"dun_source": {
"enum": [
"hour_branch",
"solar_term"
],
"type": "string",
"description": "分遁口径。"
},
"quarter_rule": {
"type": "string",
"const": "twelve_minute_ten_division",
"description": "十二分钟十分局刻家。"
},
"hour_boundary": {
"enum": [
"late_zi",
"zi_zheng"
],
"type": "string",
"description": "时辰界。"
},
"base_dingju_method": {
"enum": [
"chaibu",
"zhirun",
"maoshan"
],
"type": "string",
"description": "基准时家定局法。"
}
},
"description": "刻家奇门:十二分钟十分局刻家。",
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"school"
],
"properties": {
"scope": {
"type": "string",
"const": "day",
"description": "日家奇门。"
},
"school": {
"type": "string",
"const": "jinhan_yujing",
"description": "金函玉镜专用盘。"
}
},
"description": "日家金函玉镜专用盘。",
"additionalProperties": false
}
],
"description": "奇门方法事实;用户未指定高级方法时按 schema 描述选择常规组合,不臆造高级参数。"
},
"subject": {
"anyOf": [
{
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"minLength": 1,
"description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "可选命主;提供时用于年命干落宫;金函玉镜不接受。"
},
"question": {
"type": "string",
"description": "本次要判断的一个具体目标"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "起局地经度(-180..180);必须显式传入,城市需先转换为经度。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "起局地标准时间 RFC3339(无 DST);来自用户明确事实或既有工具结果,节气换局按此时刻判定。"
}
},
"description": "一次完成奇门排盘与受控解读所需的输入。",
"additionalProperties": false
}把民用时间事实归一化为 canonical subject 候选:接受精确时间点、当地壁钟(公历/农历,分钟或秒精度)、时辰、同日区间,可带地点经度范围。时间明确且无歧义时,客户端可按 subject schema 直接组装排盘输入;时间模糊或触及时辰、日界、交节、夏令时边界时,先调用本工具、向用户展示 reasons 并等待确认。不得静默选择候选,也不得编造缺失时间或地点。
No arguments.
{
"type": "object",
"oneOf": [
{
"type": "object",
"title": "solar_wall_clock",
"required": [
"calendar_kind",
"recorded_date",
"recorded_time",
"record_timezone",
"longitude",
"subject_gender"
],
"properties": {
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180)。"
},
"calendar_kind": {
"type": "string",
"const": "solar",
"description": "壁钟日期口径:solar 或 lunar。"
},
"recorded_date": {
"type": "string",
"description": "公历日期 YYYY-MM-DD。"
},
"recorded_time": {
"type": "string",
"description": "当地壁钟时间 HH:MM 或 HH:MM:SS(分钟/秒精度)。"
},
"subject_gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别。"
},
"longitude_range": {
"type": [
"null",
"object"
],
"required": [
"west",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点东界经度(-180..180)。"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点西界经度(-180..180)。"
}
},
"description": "地点行政范围(东西经度);可选。",
"additionalProperties": false
},
"record_timezone": {
"type": "string",
"description": "记录时间所在时区(IANA)。"
}
},
"description": "公历日期 + 当地壁钟精确时间。",
"additionalProperties": false
},
{
"type": "object",
"title": "lunar_wall_clock",
"required": [
"calendar_kind",
"recorded_lunar",
"recorded_time",
"record_timezone",
"longitude",
"subject_gender"
],
"properties": {
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180)。"
},
"calendar_kind": {
"type": "string",
"const": "lunar",
"description": "壁钟日期口径:solar 或 lunar。"
},
"recorded_time": {
"type": "string",
"description": "当地壁钟时间 HH:MM 或 HH:MM:SS。"
},
"recorded_lunar": {
"type": [
"null",
"object"
],
"required": [
"year",
"month",
"day"
],
"properties": {
"day": {
"type": "integer",
"description": "农历日(1-30)。"
},
"leap": {
"type": "boolean",
"description": "是否闰月。"
},
"year": {
"type": "integer",
"description": "农历年(1900-2100)。"
},
"month": {
"type": "integer",
"description": "农历月(1-12)。"
}
},
"description": "农历日期(含闰月标记 leap)。",
"additionalProperties": false
},
"subject_gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别。"
},
"longitude_range": {
"type": [
"null",
"object"
],
"required": [
"west",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点东界经度(-180..180)。"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点西界经度(-180..180)。"
}
},
"description": "地点行政范围(东西经度);可选。",
"additionalProperties": false
},
"record_timezone": {
"type": "string",
"description": "记录时间所在时区(IANA)。"
}
},
"description": "农历日期 + 当地壁钟精确时间。",
"additionalProperties": false
},
{
"type": "object",
"title": "solar_shichen",
"required": [
"calendar_kind",
"recorded_date",
"recorded_shichen",
"record_timezone",
"longitude",
"subject_gender"
],
"properties": {
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180)。"
},
"calendar_kind": {
"type": "string",
"const": "solar",
"description": "壁钟日期口径:solar 或 lunar。"
},
"recorded_date": {
"type": "string",
"description": "公历日期 YYYY-MM-DD。"
},
"subject_gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别。"
},
"longitude_range": {
"type": [
"null",
"object"
],
"required": [
"west",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点东界经度(-180..180)。"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点西界经度(-180..180)。"
}
},
"description": "地点行政范围(东西经度);可选。",
"additionalProperties": false
},
"record_timezone": {
"type": "string",
"description": "记录时间所在时区(IANA)。"
},
"recorded_shichen": {
"type": "string",
"description": "已知时辰(真太阳时基,2 小时)。"
}
},
"description": "公历日期 + 已知时辰。",
"additionalProperties": false
},
{
"type": "object",
"title": "solar_time_range",
"required": [
"calendar_kind",
"recorded_date",
"recorded_time_range",
"record_timezone",
"longitude",
"subject_gender"
],
"properties": {
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180)。"
},
"calendar_kind": {
"type": "string",
"const": "solar",
"description": "壁钟日期口径:solar 或 lunar。"
},
"recorded_date": {
"type": "string",
"description": "公历日期 YYYY-MM-DD。"
},
"subject_gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别。"
},
"longitude_range": {
"type": [
"null",
"object"
],
"required": [
"west",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点东界经度(-180..180)。"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点西界经度(-180..180)。"
}
},
"description": "地点行政范围(东西经度);可选。",
"additionalProperties": false
},
"record_timezone": {
"type": "string",
"description": "记录时间所在时区(IANA)。"
},
"recorded_time_range": {
"type": [
"null",
"object"
],
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "区间终点 HH:MM(不含)。"
},
"start": {
"type": "string",
"description": "区间起点 HH:MM(含)。"
}
},
"description": "同日民用时间区间。",
"additionalProperties": false
}
},
"description": "公历日期 + 同日民用时间区间。",
"additionalProperties": false
}
]
}按 IANA 时区返回服务端当前标准时间(无 DST)。所有「现在/今天/当前年份」等运算必须以本返回值为时间基准,禁止使用模型自拟或猜测的时间;用户出生时间等事实输入不属于本工具职责。
| Argument | Type | Description |
|---|---|---|
| timezone* | string | IANA timezone, e.g. Asia/Shanghai. Required. |
{
"type": "object",
"required": [
"timezone"
],
"properties": {
"timezone": {
"type": "string",
"description": "IANA timezone, e.g. Asia/Shanghai. Required."
}
},
"additionalProperties": false
}玄空飞星起盘:按宅体事实日期(建成、入住或改宅)与二十四山坐向,排九宫飞星盘。评估阳宅固定风水格局时调用;流年飞星变化改用 xuankong_liunian。注意起盘日期不是命主出生时间。
| Argument | Type | Description |
|---|---|---|
| zuo_shan* | integer | 坐山,二十四山 index。 |
| xiang_shan* | integer | 朝向;必须与坐山相对。 |
| standard_time* | string | 宅运起盘地标准日期时间(无 DST),RFC3339 带 offset。 |
{
"type": "object",
"required": [
"standard_time",
"zuo_shan",
"xiang_shan"
],
"properties": {
"zuo_shan": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "坐山,二十四山 index。"
},
"xiang_shan": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "朝向;必须与坐山相对。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "宅运起盘地标准日期时间(无 DST),RFC3339 带 offset。"
}
},
"additionalProperties": false
}玄空流年飞星:在宅运盘基础上叠加指定年份的流年飞星,count=1(默认)返回单年,count>1 返回批量。评估阳宅某一年风水变化时调用;尚未起宅运盘的先调用 xuankong_chart。
| Argument | Type | Description |
|---|---|---|
| count | null | integer | 连续查询年数。 |
| zuo_shan* | integer | 坐山,二十四山 index。 |
| xiang_shan* | integer | 朝向;必须与坐山相对。 |
| standard_time* | string | 流年选择地标准时间(无 DST),RFC3339 带 offset。 |
{
"type": "object",
"required": [
"standard_time",
"zuo_shan",
"xiang_shan"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询年数。"
},
"zuo_shan": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "坐山,二十四山 index。"
},
"xiang_shan": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "朝向;必须与坐山相对。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流年选择地标准时间(无 DST),RFC3339 带 offset。"
}
},
"additionalProperties": false
}紫微合盘原始事实。用户询问两人关系并需要紫微侧证据(命宫、夫妻宫、子女宫主星对比)时调用;八字干支与十神视角改用 bazi_bond,两者常配合使用。并排返回双方命宫、夫妻宫、子女宫主星;不做跨盘投射和合婚评级。
| Argument | Type | Description |
|---|---|---|
| a* | object | 甲方:已归一化的出生主体。 |
| b* | object | 乙方:已归一化的出生主体。 |
{
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"description": "甲方:已归一化的出生主体。",
"additionalProperties": false
},
"b": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"description": "乙方:已归一化的出生主体。",
"additionalProperties": false
}
},
"additionalProperties": false
}紫微斗数确定性命盘。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。需要十二宫细节(宫位主星、亮度、四化、大限等)时调用。返回十二宫星曜、亮度、四化、杂曜、长生、博士、小限、将前、岁前与大限。
| Argument | Type | Description |
|---|---|---|
| subject* | object | 已归一化的出生主体。 |
{
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
}
},
"additionalProperties": false
}紫微流盘。scope 显式选择流年、流月、流日或流时;standard_time 为当地标准时间,liu_shi 必须带经度。count=1(默认)返回单层领域数组;count>1 返回连续批量。
No arguments.
{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询年数。"
},
"scope": {
"type": "string",
"const": "liu_nian",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流年选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询月数。"
},
"scope": {
"type": "string",
"const": "liu_yue",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流月选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询日数。"
},
"scope": {
"type": "string",
"const": "liu_ri",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流日选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scope",
"subject",
"standard_time",
"longitude"
],
"properties": {
"count": {
"type": [
"null",
"integer"
],
"maximum": 50,
"minimum": 1,
"description": "连续查询时辰数。"
},
"scope": {
"type": "string",
"const": "liu_shi",
"description": "流盘层级。"
},
"subject": {
"type": "object",
"required": [
"standard_time",
"longitude",
"gender"
],
"properties": {
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "性别;来自用户明确事实。"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。"
}
},
"description": "已归一化的出生主体。",
"additionalProperties": false
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "地点经度(-180..180);真太阳时校正用于时辰。"
},
"standard_time": {
"type": "string",
"format": "date-time",
"description": "流时选择起点:local standard time,RFC3339 fixed offset。"
}
},
"additionalProperties": false
}
]
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 10, 2026.