Endpoints: 76,849MCP servers: 32,730Payout addresses: 3,825Paid calls: 6,155Letters: 84Defects: 3,893counted just now
teppi

Server definition

Hash
sha256:47ff1a907bb56301faca975fe204caee1db184c992a88a0cdb66737946f6ad27
What it is
What a remote MCP server returned when asked what it offers: 26 tools

The blob, as servednamed by its sha256

{ "instructions": null, "tools": [ { "description": "八宅排盘:由已校准 subject 推导出生年与性别,排命卦、四吉四凶方与出生年紫白飞星。subject 必须来自用户确认事实或 subject_candidates;时间或性别非法时返回错误,不猜测出生时辰。住宅风水评估、命卦方位吉凶类问题调用;门/主/灶配合改用 bazhai_layout。八宅不与八字四柱合参。", "inputSchema": { "additionalProperties": false, "properties": { "subject": { "additionalProperties": false, "description": "八宅命卦主体。", "properties": { "gender": { "description": "性别。", "enum": [ "male", "female" ], "type": "string" }, "standard_time": { "description": "出生年代表标准时间(无 DST),RFC3339 带 offset;用于立春年界。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "gender" ], "type": "object" } }, "required": [ "subject" ], "type": "object" }, "name": "bazhai_chart", "outputSchema": { "$defs": { "Enum_1bbaa6d8524570cb": { "enum": [ "北", "东北", "东", "东南", "南", "西南", "西", "西北" ], "type": "string" }, "Enum_27246d84eb3aef85": { "enum": [ "lichun" ], "type": "string" }, "Enum_b00fba477008276b": { "enum": [ "一白贪狼", "二黑巨门", "三碧禄存", "四绿文曲", "五黄廉贞", "六白武曲", "七赤破军", "八白左辅", "九紫右弼" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" } }, "additionalProperties": false, "properties": { "ba_zhai_dirs": { "additionalProperties": false, "description": "四吉四凶方向。", "properties": { "fu_wei": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "伏位方。" }, "huo_hai": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "祸害方。" }, "jue_ming": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "绝命方。" }, "liu_sha": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "六煞方。" }, "sheng_qi": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "生气方。" }, "tian_yi": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "天医方。" }, "wu_gui": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "五鬼方。" }, "yan_nian": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "延年方。" } }, "required": [ "sheng_qi", "tian_yi", "yan_nian", "fu_wei", "huo_hai", "wu_gui", "liu_sha", "jue_ming" ], "type": "object" }, "birth_year_xing": { "additionalProperties": false, "description": "出生年紫白飞星。", "properties": { "gong_wei": { "description": "九宫紫白星。", "items": { "additionalProperties": false, "properties": { "gong_num": { "description": "洛书宫数。", "maximum": 9, "minimum": 1, "type": "integer" }, "ru_zhong": { "description": "是否入中。", "type": "boolean" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "星五行。" }, "xing": { "description": "紫白星数。", "maximum": 9, "minimum": 1, "type": "integer" }, "xing_name": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "紫白星名。" } }, "required": [ "gong_num", "xing", "xing_name", "wuxing", "ru_zhong" ], "type": "object" }, "maxItems": 9, "minItems": 9, "type": "array" }, "ru_zhong": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "入中紫白星。" }, "year": { "description": "立春年份。", "maximum": 2100, "minimum": 1900, "type": "integer" }, "year_boundary": { "$ref": "#/$defs/Enum_27246d84eb3aef85", "description": "年界:立春。" } }, "required": [ "year", "ru_zhong", "year_boundary", "gong_wei" ], "type": "object" }, "ming_gua": { "additionalProperties": false, "description": "命卦。", "properties": { "group": { "description": "东四命或西四命。", "enum": [ "东四命", "西四命" ], "type": "string" }, "gua": { "additionalProperties": false, "description": "命卦。", "properties": { "index": { "description": "洛书宫数。", "maximum": 9, "minimum": 1, "type": "integer" }, "name": { "description": "卦名。", "enum": [ "坎", "坤", "震", "巽", "乾", "兑", "艮", "离" ], "type": "string" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "卦五行。" }, "yin_yang": { "description": "卦阴阳。", "enum": [ "阳", "阴" ], "type": "string" } }, "required": [ "index", "name", "wuxing", "yin_yang" ], "type": "object" }, "year_boundary": { "$ref": "#/$defs/Enum_27246d84eb3aef85", "description": "年界:立春。" } }, "required": [ "gua", "group", "year_boundary" ], "type": "object" } }, "required": [ "ming_gua", "ba_zhai_dirs", "birth_year_xing" ], "type": "object" } }, { "description": "八宅门主灶配合:评估命卦与门/主/灶卦的游年九星、方向与吉凶。门/主/灶卦必须来自建筑方位或用户确认事实,本工具不反推方位。已由 bazhai_chart 得到命卦后调用;输出是八宅学派确定性参考判断,不是施工或安全建议;玄空飞星用 xuankong 工具。", "inputSchema": { "$defs": { "Enum_91fe5b138825bbf3": { "enum": [ "坎", "坤", "震", "巽", "乾", "兑", "艮", "离" ], "type": "string" } }, "additionalProperties": false, "properties": { "door_gua": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "门卦。" }, "master_gua": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "主卧卦。" }, "ming_gua": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "命卦。" }, "stove_gua": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "灶卦。" } }, "required": [ "ming_gua", "door_gua", "master_gua", "stove_gua" ], "type": "object" }, "name": "bazhai_layout", "outputSchema": { "$defs": { "Enum_1bbaa6d8524570cb": { "enum": [ "北", "东北", "东", "东南", "南", "西南", "西", "西北" ], "type": "string" }, "Enum_59015bc8901784b5": { "enum": [ "吉", "凶" ], "type": "string" }, "Enum_91fe5b138825bbf3": { "enum": [ "坎", "坤", "震", "巽", "乾", "兑", "艮", "离" ], "type": "string" }, "Enum_b85e3df3fa527d23": { "enum": [ "东四卦", "西四卦" ], "type": "string" }, "Enum_bd4f53a20f160acb": { "enum": [ "大吉", "吉", "平", "凶", "大凶" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "Enum_f0fd11a3b18b1783": { "enum": [ "生气", "天医", "延年", "伏位", "祸害", "五鬼", "六煞", "绝命" ], "type": "string" }, "Object_ed897767d7210de2": { "additionalProperties": false, "properties": { "direction": { "$ref": "#/$defs/Enum_1bbaa6d8524570cb", "description": "方位。" }, "group": { "$ref": "#/$defs/Enum_b85e3df3fa527d23", "description": "东四卦或西四卦。" }, "gua_name": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "卦名。" }, "match": { "$ref": "#/$defs/Enum_59015bc8901784b5", "description": "与命卦同组吉,异组凶。" }, "rating": { "$ref": "#/$defs/Enum_bd4f53a20f160acb", "description": "吉凶等级。" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "卦五行。" }, "youxing": { "$ref": "#/$defs/Enum_f0fd11a3b18b1783", "description": "游年九星。" } }, "required": [ "direction", "gua_name", "wuxing", "youxing", "rating", "group", "match" ], "type": "object" } }, "additionalProperties": false, "properties": { "door": { "$ref": "#/$defs/Object_ed897767d7210de2", "description": "门位判断。" }, "group": { "description": "东四命或西四命。", "enum": [ "东四命", "西四命" ], "type": "string" }, "master": { "$ref": "#/$defs/Object_ed897767d7210de2", "description": "主卧判断。" }, "ming_gua": { "$ref": "#/$defs/Enum_91fe5b138825bbf3", "description": "命卦。" }, "stove": { "$ref": "#/$defs/Object_ed897767d7210de2", "description": "灶位判断。" } }, "required": [ "group", "ming_gua", "door", "master", "stove" ], "type": "object" } }, { "description": "八字合盘返回确定性关系事实,不做合婚评级。a/b 必须来自用户确认事实或 subject_candidates 归一化候选;非法、不完整或未确认的模糊 subject 直接报错。用户询问合婚、合作、亲子等关系并需要八字侧证据时调用;需要紫微宫位主星对照用 ziwei_bond,两者常配合使用。", "inputSchema": { "$defs": { "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_135540fcadfb3552": { "additionalProperties": false, "properties": { "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "subject" ], "type": "object" }, "Object_693482bdda0a9c8e": { "additionalProperties": false, "properties": { "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别;来自用户明确事实。" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "additionalProperties": false, "properties": { "a": { "$ref": "#/$defs/Object_135540fcadfb3552", "description": "甲方:已归一化的出生主体。" }, "b": { "$ref": "#/$defs/Object_135540fcadfb3552", "description": "乙方:已归一化的出生主体。" } }, "required": [ "a", "b" ], "type": "object" }, "name": "bazi_bond", "outputSchema": { "$defs": { "Enum_3568b80210617254": { "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "Enum_68db3764a80369ab": { "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "正印", "正官", "正财", "比肩", "食神" ], "type": "string" }, "Enum_7cf8ba54b12a8d8f": { "enum": [ "土", "木", "水", "火", "金", "无候选" ], "type": "string" }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "Enum_def810df8a28ae4c": { "enum": [ "nian", "ri", "shi", "yue" ], "type": "string" }, "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_01f30534e1663f05": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" } }, "required": [ "gan", "wuxing", "gender" ], "type": "object" }, "Object_1dd7cd1f56710d9d": { "additionalProperties": false, "properties": { "fu_yi_model_id": { "description": "扶抑候选模型 ID。", "type": "string" }, "ji": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "忌神;缺省为 无候选。" }, "ji_in_other": { "description": "对方忌神五行在本方实盘中的数量。", "type": "integer" }, "xi": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "喜神;缺省为 无候选。" }, "xi_in_other": { "description": "对方喜神五行在本方实盘中的数量。", "type": "integer" }, "yong": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "用神;缺省为 无候选。" }, "yong_in_other": { "description": "对方用神五行在本方实盘中的数量。", "type": "integer" } }, "required": [ "fu_yi_model_id", "yong", "xi", "ji", "yong_in_other", "xi_in_other", "ji_in_other" ], "type": "object" }, "Object_27b4f821cc8c2d7b": { "additionalProperties": false, "properties": { "na_yin": { "description": "纳音。", "type": "string" }, "zhu": { "$ref": "#/$defs/Enum_def810df8a28ae4c", "description": "柱位。" } }, "required": [ "zhu", "na_yin" ], "type": "object" }, "Object_418b4a29a1e357ec": { "additionalProperties": false, "properties": { "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" }, "primary": { "$ref": "#/$defs/Object_cf5d912ba589578a", "description": "主调候。" }, "secondary": { "$ref": "#/$defs/Object_cf5d912ba589578a", "description": "辅调候。" } }, "required": [ "gender", "primary", "secondary" ], "type": "object" }, "Object_478abddad45912db": { "additionalProperties": false, "properties": { "土": { "description": "土的数量。", "type": "integer" }, "木": { "description": "木的数量。", "type": "integer" }, "水": { "description": "水的数量。", "type": "integer" }, "火": { "description": "火的数量。", "type": "integer" }, "金": { "description": "金的数量。", "type": "integer" } }, "required": [ "木", "火", "土", "金", "水" ], "type": "object" }, "Object_8684542618dbcc2e": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" }, "zhu": { "$ref": "#/$defs/Enum_def810df8a28ae4c", "description": "柱位。" } }, "required": [ "zhu", "gan", "zhi" ], "type": "object" }, "Object_91ae74451b470267": { "additionalProperties": false, "properties": { "kind": { "description": "关系类型。", "type": "string" }, "relation": { "description": "关系描述。", "type": "string" } }, "required": [ "kind", "relation" ], "type": "object" }, "Object_b2ff3dcfd4dddcdc": { "additionalProperties": false, "properties": { "explanation": { "description": "关系解释。", "type": "string" }, "kind": { "description": "关系类型。", "type": "string" } }, "required": [ "kind", "explanation" ], "type": "object" }, "Object_c715f9b33a2cb862": { "additionalProperties": false, "properties": { "a_to_b": { "description": "甲方神煞是否见于乙方。", "type": "boolean" }, "b_to_a": { "description": "乙方神煞是否见于甲方。", "type": "boolean" } }, "required": [ "a_to_b", "b_to_a" ], "type": "object" }, "Object_cf5d912ba589578a": { "additionalProperties": false, "properties": { "occurrences": { "description": "出现位置。", "items": { "$ref": "#/$defs/Object_e58e7e58251c3cd4" }, "type": [ "null", "array" ] }, "ten_god": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "配偶星十神。" } }, "required": [ "ten_god", "occurrences" ], "type": "object" }, "Object_de6fa4ec0bde3c2f": { "additionalProperties": false, "properties": { "nian_gan": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "年干。" }, "ri_gan": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "日干。" }, "shi_gan": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "时干。" }, "yue_gan": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "月干。" } }, "required": [ "nian_gan", "yue_gan", "ri_gan", "shi_gan" ], "type": "object" }, "Object_e58e7e58251c3cd4": { "additionalProperties": false, "properties": { "branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" }, "is_void": { "description": "是否旬空。", "type": "boolean" }, "pillar": { "$ref": "#/$defs/Enum_def810df8a28ae4c", "description": "柱位。" }, "source": { "description": "来源。", "type": "string" }, "stem": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" } }, "required": [ "pillar", "branch", "stem", "source", "is_void" ], "type": "object" }, "Object_e76ec6b7b38ccbec": { "additionalProperties": false, "properties": { "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "日支。" } }, "required": [ "zhi" ], "type": "object" } }, "additionalProperties": false, "properties": { "day_master": { "additionalProperties": false, "description": "双方日主及日主生克关系。", "properties": { "a": { "$ref": "#/$defs/Object_01f30534e1663f05", "description": "甲方日主。" }, "b": { "$ref": "#/$defs/Object_01f30534e1663f05", "description": "乙方日主。" }, "relation": { "$ref": "#/$defs/Object_91ae74451b470267", "description": "日主关系。" } }, "required": [ "a", "b", "relation" ], "type": "object" }, "na_yin_cross": { "additionalProperties": false, "description": "双方四柱纳音交叉。", "properties": { "pairs": { "description": "四柱配对;按年、月、日、时对齐。", "items": { "additionalProperties": false, "properties": { "a": { "$ref": "#/$defs/Object_27b4f821cc8c2d7b", "description": "甲方柱。" }, "b": { "$ref": "#/$defs/Object_27b4f821cc8c2d7b", "description": "乙方柱。" }, "relation": { "description": "纳音关系。", "type": "string" } }, "required": [ "a", "b", "relation" ], "type": "object" }, "type": [ "null", "array" ] }, "wuxing_counts": { "additionalProperties": false, "description": "双方纳音五行计数。", "properties": { "a": { "additionalProperties": { "type": "integer" }, "description": "甲方纳音五行计数。", "type": "object" }, "b": { "additionalProperties": { "type": "integer" }, "description": "乙方纳音五行计数。", "type": "object" } }, "required": [ "a", "b" ], "type": "object" } }, "required": [ "pairs", "wuxing_counts" ], "type": "object" }, "shen_sha_cross": { "additionalProperties": false, "description": "双方互见神煞事实。", "properties": { "kong_wang": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "空亡。" }, "kui_gang": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "魁罡互见。" }, "lu": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "禄神互见。" }, "ri_de": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "日德互见。" }, "ri_gui": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "日贵互见。" }, "tao_hua": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "桃花互见。" }, "tian_yi": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "天乙贵人互见。" }, "yi_ma": { "$ref": "#/$defs/Object_c715f9b33a2cb862", "description": "驿马互见。" } }, "required": [ "tian_yi", "lu", "tao_hua", "yi_ma", "kong_wang", "kui_gang", "ri_de", "ri_gui" ], "type": "object" }, "shi_shen_cross": { "additionalProperties": false, "description": "双方日主互视的十神柱位。", "properties": { "a_to_b": { "$ref": "#/$defs/Object_de6fa4ec0bde3c2f", "description": "甲方日主视乙方四柱的十神。" }, "b_to_a": { "$ref": "#/$defs/Object_de6fa4ec0bde3c2f", "description": "乙方日主视甲方四柱的十神。" } }, "required": [ "a_to_b", "b_to_a" ], "type": "object" }, "spouse_palace": { "additionalProperties": false, "description": "双方配偶宫(日支)及其关系。", "properties": { "a": { "$ref": "#/$defs/Object_e76ec6b7b38ccbec", "description": "甲方日支。" }, "b": { "$ref": "#/$defs/Object_e76ec6b7b38ccbec", "description": "乙方日支。" }, "relation": { "$ref": "#/$defs/Object_b2ff3dcfd4dddcdc", "description": "日支关系。" } }, "required": [ "a", "b", "relation" ], "type": "object" }, "spouse_star": { "additionalProperties": false, "description": "双方配偶星候选与落柱。", "properties": { "a": { "$ref": "#/$defs/Object_418b4a29a1e357ec", "description": "甲方配偶星。" }, "b": { "$ref": "#/$defs/Object_418b4a29a1e357ec", "description": "乙方配偶星。" } }, "required": [ "a", "b" ], "type": "object" }, "wuxing_cross": { "additionalProperties": false, "description": "双方实盘五行数量与扶抑对照。", "properties": { "a": { "$ref": "#/$defs/Object_478abddad45912db", "description": "甲方计数或候选。" }, "b": { "$ref": "#/$defs/Object_478abddad45912db", "description": "乙方计数或候选。" }, "combined": { "$ref": "#/$defs/Object_478abddad45912db", "description": "双方合并计数。" }, "fu_yi_in_other": { "additionalProperties": false, "description": "一方扶抑候选在另一方实盘中的命中数量。", "properties": { "a": { "$ref": "#/$defs/Object_1dd7cd1f56710d9d", "description": "甲方计数或候选。" }, "b": { "$ref": "#/$defs/Object_1dd7cd1f56710d9d", "description": "乙方计数或候选。" } }, "required": [ "a", "b" ], "type": "object" } }, "required": [ "a", "b", "combined", "fu_yi_in_other" ], "type": "object" }, "zhu_cross": { "additionalProperties": false, "description": "双方四柱逐柱干支交叉。", "properties": { "pairs": { "description": "四柱配对;按年、月、日、时对齐。", "items": { "additionalProperties": false, "properties": { "a": { "$ref": "#/$defs/Object_8684542618dbcc2e", "description": "甲方柱。" }, "b": { "$ref": "#/$defs/Object_8684542618dbcc2e", "description": "乙方柱。" }, "gan_relation": { "$ref": "#/$defs/Object_91ae74451b470267", "description": "天干关系。" }, "zhi_relation": { "$ref": "#/$defs/Object_b2ff3dcfd4dddcdc", "description": "地支关系。" } }, "required": [ "a", "b", "gan_relation", "zhi_relation" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "pairs" ], "type": "object" } }, "required": [ "day_master", "spouse_palace", "zhu_cross", "shi_shen_cross", "wuxing_cross", "na_yin_cross", "spouse_star", "shen_sha_cross" ], "type": "object" } }, { "description": "排八字本命盘并返回确定性结构事实。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。需要四柱、大运、十神、藏干、神煞、刑冲合会、扶抑/调候或格局证据时调用。只要原始本命盘,不用八字紫微合参断语;后者用 natal_query,紫微宫位细节用 ziwei_chart。", "inputSchema": { "additionalProperties": false, "properties": { "subject": { "additionalProperties": false, "description": "schema 合法的出生主体;可来自用户明确事实或用户确认后的 subject_candidates 候选。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "required": [ "subject" ], "type": "object" }, "name": "bazi_chart", "outputSchema": { "$defs": { "Enum_3568b80210617254": { "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "Enum_7cf8ba54b12a8d8f": { "enum": [ "土", "木", "水", "火", "金", "无候选" ], "type": "string" }, "Enum_925f0107148bebde": { "enum": [ "丑", "亥", "午", "卯", "子", "寅", "巳", "戌", "未", "申", "辰", "酉" ], "type": [ "null", "string" ] }, "Enum_98255b22410decf9": { "enum": [ "中性", "凶", "吉" ], "type": [ "null", "string" ] }, "Enum_9f83bb63a5d201f5": { "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "正印", "正官", "正财", "比肩", "食神" ], "type": [ "null", "string" ] }, "Enum_a04baf058ba764ed": { "enum": [ "", "临官", "养", "冠带", "墓", "帝旺", "死", "沐浴", "病", "绝", "胎", "衰", "长生" ], "type": "string" }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "Enum_cc01949698f33d4f": { "enum": [ "neutral", "strong", "weak" ], "type": "string" }, "Enum_e7fb84fbd6e062dc": { "enum": [ "丁", "丙", "乙", "壬", "己", "庚", "戊", "甲", "癸", "辛" ], "type": [ "null", "string" ] }, "Enum_eead77e364313d9e": { "enum": [ "旺", "相", "休", "囚", "死" ], "type": "string" }, "Object_2198961e6b5a11a8": { "additionalProperties": false, "properties": { "roots": { "description": "通根位置。", "items": { "$ref": "#/$defs/Object_763ebd540eb5070d" }, "type": [ "null", "array" ] }, "season": { "description": "季节状态。", "type": [ "null", "string" ] }, "strength": { "description": "强弱。", "type": [ "null", "string" ] }, "timely": { "description": "是否得令。", "type": [ "null", "boolean" ] }, "transparent_pillars": { "description": "透干所在柱。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" } }, "required": [ "roots", "season", "strength", "timely", "transparent_pillars", "wuxing" ], "type": "object" }, "Object_3931921ea056e948": { "additionalProperties": false, "properties": { "category": { "$ref": "#/$defs/Enum_98255b22410decf9", "description": "类别。" }, "description": { "description": "说明。", "type": [ "null", "string" ] }, "name": { "description": "名称。", "type": [ "null", "string" ] } }, "required": [ "category", "description", "name" ], "type": "object" }, "Object_7263de418b0c4652": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "天干。" }, "name": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "名称。" }, "shi_shen": { "$ref": "#/$defs/Enum_9f83bb63a5d201f5", "description": "十神。" }, "source": { "description": "来源。", "type": [ "null", "string" ] } }, "required": [ "gan", "name", "shi_shen", "source" ], "type": "object" }, "Object_763ebd540eb5070d": { "additionalProperties": false, "properties": { "branch": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "地支。" }, "pillar": { "description": "柱位。", "type": [ "null", "string" ] }, "source": { "description": "来源。", "type": [ "null", "string" ] }, "stem": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "天干。" } }, "required": [ "branch", "pillar", "source", "stem" ], "type": "object" }, "Object_81490d28f52c4dd4": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "gan", "zhi" ], "type": "object" }, "Object_8f105331f6292e8d": { "additionalProperties": false, "properties": { "cang_gan": { "$ref": "#/$defs/Object_b7c32fb8c7c0e46f", "description": "藏干" }, "day_master_trend": { "$ref": "#/$defs/Enum_a04baf058ba764ed", "description": "日主在此柱地支的十二长生(地势)" }, "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "is_kui_gang": { "description": "魁罡", "type": "boolean" }, "is_self_he": { "description": "自合", "type": "boolean" }, "is_void": { "description": "旬空", "type": "boolean" }, "na_yin": { "description": "干支纳音。", "type": "string" }, "self_he_name": { "description": "自合名;缺失时为 无自合", "type": "string" }, "self_sitting": { "$ref": "#/$defs/Enum_a04baf058ba764ed", "description": "自坐长生(该柱天干在自己的地支上的十二长生阶段)" }, "shen_sha": { "description": "神煞(天乙贵人/羊刃/桃花/驿马/华盖/劫煞/灾煞/红鸾/天喜/天罗地网/十恶大败等——按盘动态计算)", "items": { "$ref": "#/$defs/Object_3931921ea056e948" }, "type": [ "null", "array" ] }, "shi_shens": { "description": "十神", "items": { "$ref": "#/$defs/Object_7263de418b0c4652" }, "type": [ "null", "array" ] }, "xun": { "description": "该柱所在旬", "type": "string" }, "xun_kong": { "description": "该柱所在旬的旬空二支;is_void 另指该柱值日柱旬空", "type": "string" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "gan", "zhi", "na_yin", "cang_gan", "shi_shens", "day_master_trend", "xun", "xun_kong", "self_sitting", "shen_sha", "is_void", "is_self_he", "is_kui_gang", "self_he_name" ], "type": "object" }, "Object_b7c32fb8c7c0e46f": { "additionalProperties": false, "properties": { "main": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "藏干 中的 main。" }, "mid": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "藏干 中的 mid。" }, "minor": { "description": "藏干 中的 minor。", "type": [ "null", "string" ] } }, "required": [ "main", "mid", "minor" ], "type": "object" }, "Object_f6cf32a76094b537": { "additionalProperties": false, "properties": { "id": { "description": "guan_xi occurrence ID。", "type": "string" }, "targets": { "description": "证据Projection目标。", "items": { "type": "string" }, "type": [ "null", "array" ] } }, "required": [ "id", "targets" ], "type": "object" } }, "additionalProperties": false, "properties": { "birth_year": { "description": "出生公历年份", "type": "integer" }, "cai_ku": { "additionalProperties": false, "description": "财库结论。", "properties": { "xian": { "description": "日主财星墓库支是否现于命局。", "type": "boolean" }, "xing_ru_ku": { "description": "财星是否入墓库。", "type": "boolean" } }, "required": [ "xian", "xing_ru_ku" ], "type": "object" }, "chang_sheng": { "description": "日主十二宫全表(长生/沐浴/冠带/临官/帝旺/衰/病/死/墓/绝/胎/养在十二支的分布)", "items": { "additionalProperties": false, "properties": { "index": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "序号。" }, "name": { "description": "名称。", "enum": [ "", "临官", "养", "冠带", "墓", "帝旺", "死", "沐浴", "病", "绝", "胎", "衰", "长生" ], "type": [ "null", "string" ] } }, "required": [ "index", "name" ], "type": "object" }, "type": [ "null", "array" ] }, "da_yun": { "additionalProperties": false, "description": "大运。root_refs 说明坐支本气与原局藏干通根。", "properties": { "direction": { "description": "大运。大运方向。", "type": [ "null", "string" ] }, "start_date": { "description": "起始公历日 YYYY-MM-DD。", "type": [ "null", "string" ] }, "start_day_after": { "description": "大运。出生后余日数。", "type": [ "null", "integer" ] }, "start_month_after": { "description": "大运。出生后余月数。", "type": [ "null", "integer" ] }, "start_year_after": { "description": "大运。出生后整年数。", "type": [ "null", "integer" ] }, "steps": { "description": "大运。root_refs 说明坐支本气与原局藏干通根。列表。", "items": { "additionalProperties": false, "properties": { "end_date": { "description": "结束公历日 YYYY-MM-DD。", "type": [ "null", "string" ] }, "end_year": { "description": "结束公历年。", "type": [ "null", "integer" ] }, "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "name": { "description": "名称。", "type": "string" }, "root_refs": { "description": "通根依据。", "items": { "additionalProperties": false, "properties": { "branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" }, "pillar": { "description": "柱位。", "enum": [ "nian", "ri", "shi", "yue" ], "type": [ "null", "string" ] }, "source": { "description": "来源。", "enum": [ "natal_hidden_stem", "sitting_branch_main_qi" ], "type": "string" }, "stem": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" } }, "required": [ "source", "stem", "branch" ], "type": "object" }, "type": [ "null", "array" ] }, "rooted": { "description": "是否通根。", "type": "boolean" }, "shi_shen": { "description": "十神。", "type": "string" }, "start_date": { "description": "起始公历日 YYYY-MM-DD。", "type": [ "null", "string" ] }, "start_year": { "description": "起始公历年。", "type": [ "null", "integer" ] }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "gan", "zhi", "name", "wuxing", "shi_shen", "rooted" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "steps" ], "type": "object" }, "element_states": { "description": "engine 五行季节旺弱、组合旺弱与生克方向", "items": { "additionalProperties": false, "properties": { "controlled_by": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "所生/所克来源五行。" }, "controller_strength": { "$ref": "#/$defs/Enum_cc01949698f33d4f", "description": "克神强弱。" }, "controls": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "所克五行。" }, "reasons": { "description": "推导依据列表。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "rooted": { "description": "是否通根。", "type": "boolean" }, "season": { "$ref": "#/$defs/Enum_eead77e364313d9e", "description": "季节状态。" }, "season_strength": { "$ref": "#/$defs/Enum_cc01949698f33d4f", "description": "月令强弱。" }, "strength": { "$ref": "#/$defs/Enum_cc01949698f33d4f", "description": "强弱。" }, "transparent": { "description": "是否透干。", "type": "boolean" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" } }, "required": [ "wuxing", "season", "season_strength", "strength", "transparent", "rooted", "controls", "controlled_by", "controller_strength", "reasons" ], "type": "object" }, "type": [ "null", "array" ] }, "fu_yi": { "additionalProperties": false, "description": "扶抑候选:用/喜/忌与身强弱;最终用神由 counsel 裁决", "properties": { "basis": { "additionalProperties": false, "description": "强弱表输入", "properties": { "guan_xi_links": { "description": "canonical guan_xi 引用与本证据目标。", "items": { "$ref": "#/$defs/Object_f6cf32a76094b537" }, "type": [ "null", "array" ] }, "ri_gan_gen": { "description": "日主通根类型。", "type": "string" }, "ri_gan_tong_gen": { "description": "日主通根位置。", "items": { "$ref": "#/$defs/Object_763ebd540eb5070d" }, "type": [ "null", "array" ] }, "yin_bi_shu_liang": { "description": "印比数量。", "type": "integer" } }, "required": [ "ri_gan_gen", "yin_bi_shu_liang", "ri_gan_tong_gen", "guan_xi_links" ], "type": "object" }, "fu_yi_model_id": { "description": "扶抑候选模型 ID。", "type": "string" }, "ji": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "扶抑候选忌神五行;缺省为 无候选" }, "pattern": { "description": "从格标签", "type": [ "null", "string" ] }, "qiang_ruo": { "description": "身强弱", "type": "string" }, "wang_shuai": { "additionalProperties": { "$ref": "#/$defs/Enum_eead77e364313d9e" }, "description": "五行旺相休囚死", "type": "object" }, "wuxing_count": { "additionalProperties": { "type": "integer" }, "description": "五行数量", "type": "object" }, "xi": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "扶抑候选喜神五行;缺省为 无候选" }, "yong": { "$ref": "#/$defs/Enum_7cf8ba54b12a8d8f", "description": "扶抑候选用神五行;缺省为 无候选" } }, "required": [ "wuxing_count", "wang_shuai", "yong", "xi", "ji", "qiang_ruo", "fu_yi_model_id", "basis" ], "type": "object" }, "ge_ju": { "additionalProperties": false, "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神)", "properties": { "ge_ju": { "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神) 中的 ge_ju。", "type": "string" }, "ge_shen_tou": { "description": "格神是否透干。", "type": "boolean" }, "pattern_god": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神) 中的 pattern_god。" }, "pattern_god_source": { "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神) 中的 pattern_god_source。", "type": "string" }, "pattern_god_ten_god": { "$ref": "#/$defs/Enum_9f83bb63a5d201f5", "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神) 中的 pattern_god_ten_god。" }, "structure": { "additionalProperties": false, "description": "格局结构。", "properties": { "controller": { "additionalProperties": false, "description": "克神。", "properties": { "roots": { "description": "通根位置。", "items": { "$ref": "#/$defs/Object_763ebd540eb5070d" }, "type": [ "null", "array" ] }, "season": { "description": "季节状态。", "type": [ "null", "string" ] }, "strength": { "description": "强弱。", "enum": [ "neutral", "strong", "weak" ], "type": [ "null", "string" ] }, "timely": { "description": "是否得令。", "type": [ "null", "boolean" ] }, "transparent_pillars": { "description": "透干所在柱。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" } }, "required": [ "roots", "season", "strength", "timely", "transparent_pillars", "wuxing" ], "type": "object" }, "generator": { "$ref": "#/$defs/Object_2198961e6b5a11a8", "description": "生神。" }, "guan_xi_links": { "description": "canonical guan_xi 引用与本证据目标。", "items": { "$ref": "#/$defs/Object_f6cf32a76094b537" }, "type": [ "null", "array" ] }, "pattern": { "$ref": "#/$defs/Object_2198961e6b5a11a8", "description": "格神。" } }, "required": [ "pattern", "controller", "generator", "guan_xi_links" ], "type": "object" }, "yong_fa": { "description": "月令结构证据:月令格神 + 顺逆用 + 结构(非用神) 中的 yong_fa。", "type": "string" } }, "required": [ "ge_ju", "yong_fa", "pattern_god_source", "ge_shen_tou", "structure" ], "type": "object" }, "gong_jia": { "description": "经典拱局:三合拱 / 三会拱", "items": { "additionalProperties": false, "properties": { "pillar_a": { "description": "拱局第一柱。", "type": [ "null", "integer" ] }, "pillar_b": { "description": "拱局第二柱。", "type": [ "null", "integer" ] }, "type": { "description": "类型。", "enum": [ "三会拱", "三合拱" ], "type": [ "null", "string" ] }, "wuxing": { "description": "五行。", "enum": [ "水", "土", "木", "金", "火" ], "type": [ "null", "string" ] }, "zhi": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "地支。" } }, "type": "object" }, "type": [ "null", "array" ] }, "guan_sha": { "additionalProperties": false, "description": "官杀取清结论。", "properties": { "qu_qing": { "description": "官杀混杂是否取清。", "type": "boolean" } }, "required": [ "qu_qing" ], "type": "object" }, "guan_xi": { "description": "canonical 命局关系事实;每条 occurrence 使用稳定 id。", "items": { "additionalProperties": false, "properties": { "contested": { "description": "天干五合是否争合。", "type": "boolean" }, "group": { "description": "稳定匹配组。", "type": "string" }, "id": { "description": "稳定关系 ID:relation_kind:group。", "type": "string" }, "members": { "description": "宫位解析后的参与干支。", "items": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "参与天干。" }, "pillar": { "description": "所在柱。", "enum": [ "nian", "ri", "shi", "yue" ], "type": "string" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "参与地支。" } }, "required": [ "pillar" ], "type": "object" }, "type": [ "null", "array" ] }, "position": { "description": "天干关系位置。", "type": "string" }, "relation_kind": { "description": "关系类型。", "enum": [ "an_he", "gan_chong", "gan_chong_candidate", "gan_he", "gan_he_candidate", "liu_chong", "liu_hai", "liu_po", "liu_xing", "san_he", "san_he_partial", "san_hui", "zhi_liu_he" ], "type": "string" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "关系化局五行。" } }, "required": [ "id", "relation_kind", "members", "group" ], "type": "object" }, "type": [ "null", "array" ] }, "lu_roots": { "description": "透干十神得十干禄", "items": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "shi_shen": { "description": "十神。", "type": "string" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "shi_shen", "gan", "zhi" ], "type": "object" }, "type": [ "null", "array" ] }, "na_yin_rel": { "description": "纳音生克", "items": { "additionalProperties": false, "properties": { "a": { "description": "甲方计数或候选。", "type": [ "null", "string" ] }, "b": { "description": "乙方计数或候选。", "type": [ "null", "string" ] }, "relation": { "description": "关系。", "type": [ "null", "string" ] } }, "required": [ "a", "b", "relation" ], "type": "object" }, "type": [ "null", "array" ] }, "nian": { "$ref": "#/$defs/Object_8f105331f6292e8d", "description": "年柱: gan/zhi/na_yin" }, "ri": { "$ref": "#/$defs/Object_8f105331f6292e8d", "description": "日柱: gan/zhi/na_yin" }, "ri_xun": { "description": "日柱所在旬", "type": "string" }, "ri_xun_kong": { "description": "日柱旬空二支;各柱 is_void 均按此判断", "type": "string" }, "san_qi_name": { "description": "三奇贵人", "type": [ "null", "string" ] }, "san_yuan": { "additionalProperties": false, "description": "三元: 胎元/命宫/身宫", "properties": { "ming_gong": { "$ref": "#/$defs/Object_81490d28f52c4dd4", "description": "命宫" }, "shen_gong": { "$ref": "#/$defs/Object_81490d28f52c4dd4", "description": "身宫" }, "tai_yuan": { "$ref": "#/$defs/Object_81490d28f52c4dd4", "description": "胎元(月干+1 月支+3)" } }, "required": [ "tai_yuan", "ming_gong", "shen_gong" ], "type": [ "null", "object" ] }, "shen_sha_school": { "additionalProperties": false, "description": "神煞取参照系。", "properties": { "dual_reference": { "description": "神煞双查参照来源列表。", "items": { "enum": [ "劫煞", "华盖", "天乙贵人", "将星", "桃花", "灾煞", "驿马" ], "type": "string" }, "type": [ "null", "array" ] }, "policy": { "description": "策略。", "enum": [ "union_of_year_and_day_references" ], "type": "string" } }, "required": [ "dual_reference", "policy" ], "type": "object" }, "shi": { "$ref": "#/$defs/Object_8f105331f6292e8d", "description": "时柱: gan/zhi/na_yin" }, "tai_xi": { "additionalProperties": false, "description": "胎息(日干五合配、日支六合配)", "properties": { "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "gan", "zhi" ], "type": [ "null", "object" ] }, "ten_god_states": { "description": "engine 十神显隐 / 通根 / 得令 / 旺弱状态", "items": { "additionalProperties": false, "properties": { "count": { "description": "数量。", "type": "integer" }, "hidden": { "description": "是否藏干。", "type": "boolean" }, "rooted": { "description": "是否通根。", "type": "boolean" }, "shi_shen": { "description": "十神。", "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "正印", "正官", "正财", "比肩", "食神" ], "type": "string" }, "strength": { "$ref": "#/$defs/Enum_cc01949698f33d4f", "description": "强弱。" }, "timely": { "description": "是否得令。", "type": "boolean" }, "transparent": { "description": "是否透干。", "type": "boolean" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "五行。" } }, "required": [ "shi_shen", "wuxing", "transparent", "hidden", "rooted", "timely", "count", "strength" ], "type": "object" }, "type": [ "null", "array" ] }, "tiao_hou": { "additionalProperties": false, "description": "调候候选:主辅调候五行候选 + 季节 + 条件", "properties": { "primary": { "additionalProperties": false, "description": "主调候。", "properties": { "guan_xi_links": { "description": "canonical guan_xi 引用与本证据目标。", "items": { "$ref": "#/$defs/Object_f6cf32a76094b537" }, "type": [ "null", "array" ] }, "hidden": { "description": "是否藏干。", "type": "boolean" }, "occurrences": { "description": "出现位置。", "items": { "additionalProperties": false, "properties": { "branch": { "description": "地支。", "type": [ "null", "string" ] }, "pillar": { "description": "柱位。", "type": [ "null", "string" ] }, "source": { "description": "来源。", "type": [ "null", "string" ] }, "stem": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "天干。" } }, "required": [ "branch", "pillar", "source", "stem" ], "type": "object" }, "type": [ "null", "array" ] }, "stem": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "天干。" }, "transparent": { "description": "是否透干。", "type": "boolean" } }, "required": [ "stem", "transparent", "hidden", "occurrences", "guan_xi_links" ], "type": "object" }, "primary_wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "调候候选:主辅调候五行候选 + 季节 + 条件 中的 primary_wuxing。" }, "season": { "description": "季节状态。", "type": "string" }, "secondary": { "additionalProperties": false, "description": "辅调候。", "properties": { "guan_xi_links": { "description": "canonical guan_xi 引用与本证据目标。", "items": { "$ref": "#/$defs/Object_f6cf32a76094b537" }, "type": [ "null", "array" ] }, "hidden": { "description": "是否藏干。", "type": [ "null", "boolean" ] }, "occurrences": { "description": "出现位置。", "items": { "additionalProperties": false, "properties": { "branch": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "地支。" }, "pillar": { "description": "柱位。", "type": [ "null", "string" ] }, "source": { "description": "来源。", "type": [ "null", "string" ] }, "stem": { "description": "天干。", "type": [ "null", "string" ] } }, "required": [ "branch", "pillar", "source", "stem" ], "type": "object" }, "type": [ "null", "array" ] }, "stem": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "天干。" }, "transparent": { "description": "是否透干。", "type": [ "null", "boolean" ] } }, "required": [ "hidden", "occurrences", "guan_xi_links", "stem", "transparent" ], "type": "object" }, "secondary_condition": { "description": "调候候选:主辅调候五行候选 + 季节 + 条件 中的 secondary_condition。", "type": [ "null", "string" ] }, "secondary_wuxing": { "description": "调候候选:主辅调候五行候选 + 季节 + 条件 中的 secondary_wuxing;缺失时为 无辅调候。", "enum": [ "土", "木", "水", "火", "金", "无辅调候" ], "type": "string" }, "tiao_hou_explanation": { "description": "调候口径说明。", "type": "string" }, "tiao_hou_model_id": { "description": "调候候选模型 ID。", "type": "string" } }, "required": [ "primary_wuxing", "secondary_wuxing", "season", "tiao_hou_explanation", "tiao_hou_model_id", "primary", "secondary" ], "type": "object" }, "yue": { "$ref": "#/$defs/Object_8f105331f6292e8d", "description": "月柱: gan/zhi/na_yin" }, "zi_shi_rule": { "description": "子时换日规则。", "type": "string" }, "zodiac": { "description": "生肖(年支对应动物,如酉→鸡)", "type": [ "null", "string" ] } }, "required": [ "zi_shi_rule", "nian", "yue", "ri", "shi", "da_yun", "birth_year", "fu_yi", "shen_sha_school", "lu_roots", "guan_xi", "ten_god_states", "element_states", "guan_sha", "cai_ku", "tiao_hou", "ge_ju", "ri_xun", "ri_xun_kong" ], "type": "object" } }, { "description": "八字流盘:按 scope 返回 liu_nian/liu_yue/liu_ri/liu_shi/xiao_yun 对应领域数组,字段见 output schema。按粒度选择:逐年用 liu_nian,逐月用 liu_yue,具体日期用 liu_ri,具体时辰用 liu_shi,童年或小运趋势用 xiao_yun。count=1 单层,count>1 连续批量;liu_ri/liu_shi 必须带经度,非法 scope/count/time 或缺失必需经度直接报错。只返回确定性流盘事实,不做断语;本命盘用 bazi_chart,八字紫微逐年合参断语用 natal_liunian_query。", "inputSchema": { "$defs": { "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_693482bdda0a9c8e": { "additionalProperties": false, "properties": { "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别;来自用户明确事实。" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "oneOf": [ { "additionalProperties": false, "properties": { "count": { "description": "连续查询年数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "liu_nian", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流年选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询月数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "liu_yue", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流月选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询日数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "longitude": { "description": "地点经度(-180..180);真太阳时校正用于日柱。", "maximum": 180, "minimum": -180, "type": "number" }, "scope": { "const": "liu_ri", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流日选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time", "longitude" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询时辰数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "longitude": { "description": "地点经度(-180..180);真太阳时校正用于日柱/时柱。", "maximum": 180, "minimum": -180, "type": "number" }, "scope": { "const": "liu_shi", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流时选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time", "longitude" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询小运岁数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "xiao_yun", "description": "流盘层级。", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject" ], "type": "object" } ], "type": "object" }, "name": "bazi_liupan", "outputSchema": { "$defs": { "Enum_4ad33770b6e640cb": { "enum": [ "中性", "凶", "吉" ], "type": "string" }, "Enum_68db3764a80369ab": { "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "正印", "正官", "正财", "比肩", "食神" ], "type": "string" }, "Enum_925f0107148bebde": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": [ "null", "string" ] }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "Enum_e7fb84fbd6e062dc": { "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": [ "null", "string" ] }, "Enum_fbd3c3c1277b5d34": { "enum": [ "丧门", "劫煞", "文昌", "华盖", "吊客", "大耗", "天乙贵人", "天喜", "桃花", "灾煞", "病符", "红鸾", "羊刃", "驿马" ], "type": "string" }, "Object_16b43ba804dd9d6a": { "additionalProperties": false, "properties": { "category": { "$ref": "#/$defs/Enum_4ad33770b6e640cb", "description": "类别。" }, "name": { "$ref": "#/$defs/Enum_fbd3c3c1277b5d34", "description": "名称。" } }, "required": [ "name", "category" ], "type": "object" }, "Object_7ed0787b874e108a": { "additionalProperties": false, "properties": { "relation_explanation": { "description": "关系解释。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] }, "zhi_a": { "description": "甲支。", "type": [ "null", "string" ] }, "zhi_b": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "乙支。" } }, "required": [ "relation_explanation", "relation_kind", "zhi_a", "zhi_b" ], "type": "object" }, "Object_8821e032525e173a": { "additionalProperties": false, "properties": { "gan_a": { "description": "甲干。", "type": [ "null", "string" ] }, "gan_b": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "乙干。" }, "relation": { "description": "关系。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] } }, "required": [ "gan_a", "gan_b", "relation", "relation_kind" ], "type": "object" } }, "additionalProperties": false, "maxProperties": 1, "minProperties": 1, "properties": { "liu_nian": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "da_yun_interactions": { "description": "查询年份所在大运与流年交互(未起运或大运过完时为空数组)", "items": { "additionalProperties": false, "properties": { "gan_rels": { "description": "天干关系列表。", "items": { "additionalProperties": false, "properties": { "gan_a": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "甲干。" }, "gan_b": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "乙干。" }, "relation": { "description": "关系。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] } }, "required": [ "gan_a", "gan_b", "relation", "relation_kind" ], "type": "object" }, "type": [ "null", "array" ] }, "pillar_label": { "description": "命局柱位及干支标签。", "type": [ "null", "string" ] }, "zhi_rels": { "description": "地支关系列表。", "items": { "additionalProperties": false, "properties": { "relation_explanation": { "description": "关系解释。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] }, "zhi_a": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "甲支。" }, "zhi_b": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "乙支。" } }, "required": [ "relation_explanation", "relation_kind", "zhi_a", "zhi_b" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "gan_rels", "pillar_label", "zhi_rels" ], "type": "object" }, "type": [ "null", "array" ] }, "fu_yin_fan_yin": { "description": "伏吟反吟", "items": { "additionalProperties": false, "properties": { "natal_index": { "description": "命局四柱索引:0 年、1 月、2 日、3 时。", "type": [ "null", "integer" ] }, "relation_explanation": { "description": "关系解释。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] } }, "required": [ "relation_explanation", "natal_index", "relation_kind" ], "type": "object" }, "type": [ "null", "array" ] }, "gan": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "流年天干" }, "gan_wuxing": { "description": "流年天干五行。", "type": [ "null", "string" ] }, "ke_ri": { "description": "流年是否克制日主:0/1。", "type": [ "null", "integer" ] }, "na_yin": { "description": "流年干支纳音。", "type": [ "null", "string" ] }, "natal_interactions": { "description": "流年与命局交互", "items": { "additionalProperties": false, "properties": { "gan_rels": { "description": "天干关系列表。", "items": { "$ref": "#/$defs/Object_8821e032525e173a" }, "type": [ "null", "array" ] }, "pillar_label": { "description": "命局柱位及干支标签。", "type": [ "null", "string" ] }, "zhi_rels": { "description": "地支关系列表。", "items": { "$ref": "#/$defs/Object_7ed0787b874e108a" }, "type": [ "null", "array" ] } }, "required": [ "gan_rels", "pillar_label", "zhi_rels" ], "type": "object" }, "type": [ "null", "array" ] }, "nian_jie": { "additionalProperties": false, "description": "流年立春年界。", "properties": { "boundary_day": { "description": "输入日期是否为立春边界日(归入新年)。", "type": "boolean" }, "lichun_end": { "description": "下一立春日(不含)。", "format": "date", "type": "string" }, "lichun_start": { "description": "立春年起始公历日(含)。", "format": "date", "type": "string" }, "lichun_year": { "description": "该日期所在的立春年。", "type": "integer" }, "standard_time": { "description": "流年选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" }, "start_date": { "description": "按当地标准日取的流年选择日期。", "format": "date", "type": "string" } }, "required": [ "standard_time", "start_date", "lichun_year", "lichun_start", "lichun_end", "boundary_day" ], "type": "object" }, "shen_sha": { "description": "流年神煞名称与类别(吉/凶/中性);取象见 chart 层 shen_sha description。年支+日支双查;值年按流年地支查命局四柱", "items": { "$ref": "#/$defs/Object_16b43ba804dd9d6a" }, "type": [ "null", "array" ] }, "sheng_ri": { "description": "流年是否生扶日主:0/1。", "type": [ "null", "integer" ] }, "shi_shen": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "十神。" }, "year": { "description": "年。", "type": "integer" }, "zhi": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "流年地支" } }, "required": [ "year", "shi_shen", "nian_jie" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_ri": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "da_yun_rels": { "description": "与大运关系", "items": { "$ref": "#/$defs/Object_7ed0787b874e108a" }, "type": [ "null", "array" ] }, "date": { "description": "流日日期 YYYY-MM-DD。", "type": "string" }, "gan": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "流日天干" }, "gan_rels": { "description": "天干关系", "items": { "$ref": "#/$defs/Object_8821e032525e173a" }, "type": [ "null", "array" ] }, "liu_nian_rels": { "description": "与流年关系", "items": { "additionalProperties": false, "properties": { "relation_explanation": { "description": "关系解释。", "type": [ "null", "string" ] }, "relation_kind": { "description": "类型。", "type": [ "null", "string" ] }, "zhi_a": { "description": "甲支。", "type": [ "null", "string" ] }, "zhi_b": { "description": "乙支。", "type": [ "null", "string" ] } }, "required": [ "relation_explanation", "relation_kind", "zhi_a", "zhi_b" ], "type": "object" }, "type": [ "null", "array" ] }, "na_yin": { "description": "流日干支纳音。", "type": [ "null", "string" ] }, "ri_jie": { "additionalProperties": false, "description": "流日日界。", "properties": { "local_date": { "description": "流日当地标准日。", "format": "date", "type": "string" }, "solar_date": { "description": "真太阳时日(日柱所用日期)。", "format": "date", "type": "string" }, "standard_time": { "description": "流日选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "local_date", "solar_date" ], "type": "object" }, "shen_sha": { "description": "流日神煞名称与类别;取象见 chart 层 shen_sha description", "items": { "$ref": "#/$defs/Object_16b43ba804dd9d6a" }, "type": [ "null", "array" ] }, "shi_shen": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "十神。" }, "zhi": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "流日地支" }, "zhi_rels": { "description": "地支关系", "items": { "$ref": "#/$defs/Object_7ed0787b874e108a" }, "type": [ "null", "array" ] } }, "required": [ "date", "shi_shen", "ri_jie" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_shi": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "流时天干" }, "gan_rels": { "description": "天干关系", "items": { "$ref": "#/$defs/Object_8821e032525e173a" }, "type": [ "null", "array" ] }, "hour_range": { "description": "流时时辰区间。", "type": "string" }, "shi_chen": { "additionalProperties": false, "description": "流时时辰定位。", "properties": { "local_date": { "description": "流时当地标准日。", "format": "date", "type": "string" }, "shichen": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "真太阳时时辰。" }, "standard_time": { "description": "流时选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "local_date", "shichen" ], "type": "object" }, "shi_shen": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "十神。" }, "zhi": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "流时地支" }, "zhi_rels": { "description": "地支关系", "items": { "$ref": "#/$defs/Object_7ed0787b874e108a" }, "type": [ "null", "array" ] } }, "required": [ "hour_range", "shi_shen", "shi_chen" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_yue": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gan": { "$ref": "#/$defs/Enum_e7fb84fbd6e062dc", "description": "流月天干" }, "gan_rels": { "description": "天干关系", "items": { "$ref": "#/$defs/Object_8821e032525e173a" }, "type": [ "null", "array" ] }, "gan_wuxing": { "description": "流月天干五行。", "type": [ "null", "string" ] }, "jie_qi": { "additionalProperties": false, "description": "流月节气月界。", "properties": { "boundary_day": { "description": "输入日期是否为节边界日(归入新月)。", "type": "boolean" }, "jieqi_end": { "description": "下一节(不含)。", "format": "date", "type": "string" }, "jieqi_start": { "description": "节气月起日(节,含)。", "format": "date", "type": "string" }, "standard_time": { "description": "流月选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" }, "start_date": { "description": "按当地标准日取的流月选择日期。", "format": "date", "type": "string" } }, "required": [ "standard_time", "start_date", "jieqi_start", "jieqi_end", "boundary_day" ], "type": "object" }, "ke_ri": { "description": "流月是否克制日主:0/1。", "type": [ "null", "integer" ] }, "shen_sha": { "description": "流月神煞名称与类别;取象见 chart 层 shen_sha description", "items": { "$ref": "#/$defs/Object_16b43ba804dd9d6a" }, "type": [ "null", "array" ] }, "sheng_ri": { "description": "流月是否生扶日主:0/1。", "type": [ "null", "integer" ] }, "shi_shen": { "$ref": "#/$defs/Enum_68db3764a80369ab", "description": "十神。" }, "zhi": { "$ref": "#/$defs/Enum_925f0107148bebde", "description": "流月地支" }, "zhi_rels": { "description": "地支关系", "items": { "$ref": "#/$defs/Object_7ed0787b874e108a" }, "type": [ "null", "array" ] } }, "required": [ "shi_shen", "jie_qi" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "xiao_yun": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "起法依据", "type": "string" }, "method": { "description": "流派标识", "type": "string" }, "zhus": { "description": "该学派小运柱列表。", "items": { "additionalProperties": false, "properties": { "age": { "description": "虚岁。", "type": "integer" }, "gan": { "description": "天干。", "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "name": { "description": "名称。", "type": "string" }, "shi_shen": { "description": "十神。", "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "正印", "正官", "正财", "比肩", "食神" ], "type": [ "null", "string" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "age", "gan", "zhi", "name" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "method", "basis", "zhus" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" } }, "type": "object" } }, { "description": "schema 合法的已归一化出生主体 → 确定性唯一用神裁决。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates;时间模糊或多候选时先归一化并确认。返回 status、selected_yongshen、conflicts、命中规则、格局上下文与裁决证据;conflicts 非空或 status 需复核时不静默改选。只要原始八字盘时用 bazi_chart;起名只消费 selected_yongshen.yong。", "inputSchema": { "additionalProperties": false, "description": "八字用神裁决输入。", "properties": { "subject": { "additionalProperties": false, "description": "已考时归一化的出生主体。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "minLength": 1, "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "required": [ "subject" ], "type": "object" }, "name": "bazi_yongshen", "outputSchema": { "$defs": { "Enum_7cf8ba54b12a": { "enum": [ "土", "无候选", "木", "水", "火", "金" ], "type": "string" }, "Enum_99836a85f2ed": { "enum": [ "七杀", "伤官", "偏印", "偏财", "劫财", "无格神", "正印", "正官", "正财", "比肩", "食神" ], "type": "string" }, "Enum_c97a3d8aae12": { "enum": [ "土", "木", "水", "火", "金" ], "type": "string" } }, "additionalProperties": false, "description": "The complete yongshen decision published over MCP.", "properties": { "conflicts": { "description": "用神裁决冲突;无冲突为空。", "items": { "additionalProperties": false, "description": "A conflict found while resolving the yongshen.", "properties": { "code": { "description": "Stable conflict code.", "type": "string" }, "message": { "description": "Human-readable conflict explanation.", "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "type": "array" }, "evidence": { "description": "按来源标记的裁决证据。", "items": { "anyOf": [ { "additionalProperties": false, "description": "Engine facts evidence record.", "properties": { "day_master_element": { "$ref": "#/$defs/Enum_c97a3d8aae12", "description": "日主五行。" }, "day_master_stem": { "description": "日主天干。", "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "month_zhi": { "description": "月支。", "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "season_is_extreme": { "description": "季节是否极端。", "type": "boolean" }, "source": { "const": "facts", "description": "证据来源。", "type": "string" } }, "required": [ "source", "month_zhi", "day_master_stem", "day_master_element", "season_is_extreme" ], "type": "object" }, { "additionalProperties": false, "description": "扶抑 evidence record.", "properties": { "ji": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "扶抑候选忌神;缺省为 无候选。" }, "pattern": { "description": "扶抑结构模式。", "type": "string" }, "qiang_ruo": { "description": "身强弱。", "type": "string" }, "ri_gan_gen": { "description": "通根类型。", "type": "string" }, "season": { "description": "季节状态。", "type": "string" }, "source": { "const": "fu_yi", "description": "证据来源。", "type": "string" }, "xi": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "扶抑候选喜神;缺省为 无候选。" }, "yin_bi_shu_liang": { "description": "印比数量。", "type": "integer" }, "yong": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "扶抑候选用神;缺省为 无候选。" } }, "required": [ "source", "qiang_ruo", "pattern", "ri_gan_gen", "season", "yin_bi_shu_liang", "yong", "xi", "ji" ], "type": "object" }, { "additionalProperties": false, "description": "调候 evidence record.", "properties": { "condition_ok": { "description": "辅调候条件是否满足。", "type": "boolean" }, "control_wuxing": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "调候控制五行。" }, "primary_present": { "description": "主调候是否出现。", "type": "boolean" }, "primary_visible": { "description": "主调候是否可见。", "type": "boolean" }, "primary_wuxing": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "主调候五行。" }, "secondary_condition": { "description": "辅调候条件。", "type": "string" }, "secondary_present": { "description": "辅调候是否出现。", "type": "boolean" }, "secondary_usable": { "description": "辅调候是否可用。", "type": "boolean" }, "secondary_visible": { "description": "辅调候是否可见。", "type": "boolean" }, "secondary_wuxing": { "description": "辅调候五行;缺失时为 无辅调候。", "enum": [ "木", "火", "土", "金", "水", "无辅调候" ], "type": "string" }, "source": { "const": "tiao_hou", "description": "证据来源。", "type": "string" }, "yong": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "调候用神。" }, "yong_present": { "description": "调候用神是否出现。", "type": "boolean" }, "yong_source": { "description": "调候用神来源。", "type": "string" }, "yong_visible": { "description": "调候用神是否可见。", "type": "boolean" } }, "required": [ "source", "primary_wuxing", "secondary_wuxing", "secondary_condition", "condition_ok", "secondary_usable", "primary_present", "primary_visible", "secondary_present", "secondary_visible", "yong", "yong_source", "yong_present", "yong_visible", "control_wuxing" ], "type": "object" }, { "additionalProperties": false, "description": "格局 evidence record.", "properties": { "is_clear": { "description": "格局是否清纯。", "type": "boolean" }, "pattern": { "description": "格局名称。", "type": "string" }, "pattern_god_source": { "description": "格神取用来源。", "type": "string" }, "pattern_god_ten_god": { "$ref": "#/$defs/Enum_99836a85f2ed", "description": "格神十神;无格神为 无格神。" }, "source": { "const": "ge_ju", "description": "证据来源。", "type": "string" } }, "required": [ "source", "pattern", "pattern_god_ten_god", "pattern_god_source", "is_clear" ], "type": "object" }, { "additionalProperties": false, "description": "从格复核 evidence record.", "properties": { "bi_jie_rooted_count": { "description": "有根比劫数量;任一有根比劫即破从弱。", "type": "integer" }, "cai_effective_count": { "description": "有效财星数量:透干,或通根且力量强。", "type": "integer" }, "guan_sha_effective_count": { "description": "有效官杀数量:透干,或通根且力量强。", "type": "integer" }, "is_fake_candidate": { "description": "是否为假从格候选。", "type": "boolean" }, "is_verified": { "description": "从格双证是否通过。", "type": "boolean" }, "pattern": { "description": "从格候选标签。", "type": "string" }, "shi_shang_effective_count": { "description": "有效食伤数量:透干,或通根且力量强。", "type": "integer" }, "source": { "const": "cong_ge", "description": "证据来源。", "type": "string" }, "yin_rooted_count": { "description": "有根印星数量;任一有根印星即破从弱。", "type": "integer" } }, "required": [ "source", "pattern", "is_verified", "is_fake_candidate", "guan_sha_effective_count", "cai_effective_count", "shi_shang_effective_count", "yin_rooted_count", "bi_jie_rooted_count" ], "type": "object" } ] }, "type": "array" }, "ge_ju_context": { "additionalProperties": false, "description": "用神裁决关联的格局上下文。", "properties": { "is_clear": { "description": "格局是否清纯。", "type": "boolean" }, "pattern": { "description": "格局名称。", "type": "string" }, "pattern_god_source": { "description": "格神取用来源。", "type": "string" }, "pattern_god_ten_god": { "$ref": "#/$defs/Enum_99836a85f2ed", "description": "格神十神;无格神为 无格神。" }, "theme": { "description": "格局主题。", "type": "string" }, "yong_fa": { "description": "格局顺逆用法。", "type": "string" } }, "required": [ "pattern", "pattern_god_ten_god", "pattern_god_source", "yong_fa", "is_clear", "theme" ], "type": "object" }, "policy_id": { "description": "Yongshen policy identifier.", "type": "string" }, "rule_id": { "description": "Matched rule identifier.", "type": "string" }, "selected_yongshen": { "additionalProperties": false, "description": "The only selected yong/xi/ji result.", "properties": { "ji": { "description": "忌神五行。", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "xi": { "description": "Elements that support the selected yongshen.", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "yong": { "$ref": "#/$defs/Enum_7cf8ba54b12a", "description": "用神五行;无候选表示未形成可用选择。" } }, "required": [ "yong", "xi", "ji" ], "type": "object" }, "status": { "description": "裁决状态;下游仅消费 resolved 或 partial。", "enum": [ "resolved", "partial", "needs_review", "unresolved" ], "type": "string" } }, "required": [ "selected_yongshen", "status", "conflicts", "rule_id", "policy_id", "ge_ju_context", "evidence" ], "type": "object" } }, { "description": "根据城市名返回城市信息候选(内置表,不访问外链):每项含名称、行政区、层级、经纬度、IANA 时区与可选经度范围;locale 只本地化名称展示,不改变匹配集合。长度 1 可直接使用;多于 1(同名区县等)必须由用户确认,不得静默取第一个。未命中时请询问附近大城市,或让用户直接提供经纬度和时区。", "inputSchema": { "additionalProperties": false, "properties": { "city": { "description": "城市名称(中英文均可);同名区县请用省/市限定(如 北京朝阳区)。", "maxLength": 128, "minLength": 1, "type": "string" }, "locale": { "description": "可选显示语言:zh-Hans、zh-Hant 或 en;省略时返回内置表原文。", "type": "string" } }, "required": [ "city" ], "type": "object" }, "name": "city_info", "outputSchema": { "additionalProperties": false, "properties": { "candidates": { "description": "地点候选(按相关度排序)。长度 1 可直接使用;多于 1 时必须由用户确认,不得静默取第一个。", "items": { "additionalProperties": false, "properties": { "city": { "description": "所属地级市(内置表已知时;如 杭州市)。", "type": "string" }, "country": { "description": "国家或地区;境内候选沿用省份名。", "type": "string" }, "latitude": { "description": "WGS-84 纬度,十进制度(北纬为正)。", "type": "number" }, "level": { "description": "层级:city(地级市)/county(区县)/world(海外或港澳台城市)。", "enum": [ "city", "county", "world" ], "type": "string" }, "longitude": { "description": "WGS-84 经度,十进制度(东经为正)。", "type": "number" }, "longitude_range": { "additionalProperties": false, "description": "地点东西经度范围(由行政边界换算);用于时间边界的不确定性。", "properties": { "east": { "description": "东界经度(-180..180)。", "type": "number" }, "west": { "description": "西界经度(-180..180)。", "type": "number" } }, "required": [ "west", "east" ], "type": [ "null", "object" ] }, "name": { "description": "候选地名(原样,如 长沙市、长沙县)。", "type": "string" }, "region": { "description": "省/州/国家,用于消歧(如 湖南省、美国)。", "type": "string" }, "timezone": { "description": "IANA 时区名;候选无时区数据时省略,调用方须询问用户。", "type": "string" } }, "required": [ "name", "region", "country", "level", "longitude", "latitude" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "candidates" ], "type": "object" } }, { "description": "黄历择日查日。用户询问某事项宜忌日期、某日吉凶或黄历宜忌事实时调用;从 standard_time 起返回连续 count 天,指定 event 时逐日附适配结论与判定依据,范围内无适配日也不报错。命理合参(八字/紫微本命、流年)不走本工具,改用对应排盘与查询工具。", "inputSchema": { "additionalProperties": false, "properties": { "count": { "description": "黄历查询天数,最多30。", "maximum": 30, "minimum": 1, "type": "integer" }, "event": { "description": "事项类型。", "enum": [ "wedding", "engage", "opening", "sign", "move", "travel", "build", "exam", "medical", "sacrifice", "cleaning", "renovation", "bed_install", "income", "funeral" ], "type": "string" }, "standard_time": { "description": "查询起始日标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" } }, "required": [ "event", "standard_time", "count" ], "type": "object" }, "name": "huangli_days", "outputSchema": { "additionalProperties": false, "properties": { "days": { "description": "逐日结果数组,长度 = count。", "items": { "additionalProperties": false, "properties": { "cai_shen": { "description": "财神方位。", "type": "string" }, "date": { "description": "日期 YYYY-MM-DD。", "type": "string" }, "event": { "description": "查询事项。", "type": "string" }, "event_label": { "description": "事项中文标签。", "type": "string" }, "event_reason": { "description": "事项适配依据。", "type": "string" }, "fu_shen": { "description": "福神方位。", "type": "string" }, "gan_ji": { "description": "彭祖日干忌。", "type": "string" }, "huangdao": { "additionalProperties": false, "description": "当日黄道/黑道。", "properties": { "index": { "description": "黄道/黑道序号。", "type": "integer" }, "name": { "description": "黄道/黑道神名。", "type": "string" }, "path": { "description": "黄道或黑道。", "type": "string" }, "sequence": { "description": "十二神循环位置。", "type": "integer" } }, "required": [ "index", "name", "path", "sequence" ], "type": "object" }, "jian_chu": { "description": "建除十二神。", "type": "string" }, "jie_qi": { "description": "节气。", "type": "string" }, "jie_qi_days": { "description": "进入节气天数。", "type": "integer" }, "mansion": { "additionalProperties": false, "description": "当日二十八宿。", "properties": { "dong_wu": { "description": "七曜动物。", "type": "string" }, "group": { "description": "四象分组。", "type": "string" }, "group_idx": { "description": "四象内序号。", "type": "integer" }, "index": { "description": "二十八宿序号。", "type": "integer" }, "name": { "description": "二十八宿名称。", "type": "string" }, "wuxing": { "description": "宿五行。", "type": "string" } }, "required": [ "index", "name", "dong_wu", "wuxing", "group", "group_idx" ], "type": "object" }, "ren_yuan": { "description": "人元司令天干。", "type": "string" }, "ri_zhu": { "additionalProperties": false, "description": "日柱信息。", "properties": { "gan": { "description": "日干。", "type": "string" }, "na_yin": { "description": "日柱纳音。", "type": "string" }, "zhi": { "description": "日支。", "type": "string" } }, "required": [ "gan", "zhi", "na_yin" ], "type": "object" }, "shi_chen": { "description": "十二时辰宜忌。", "items": { "additionalProperties": false, "properties": { "clock_range": { "description": "时辰钟点区间。", "type": "string" }, "huangdao": { "description": "该时辰黄道/黑道神。", "type": "string" }, "jian_chu": { "description": "该时辰建除。", "type": "string" }, "suitable": { "description": "该时辰是否宜。", "type": "boolean" }, "zhi": { "description": "时辰地支。", "type": "string" } }, "required": [ "zhi", "clock_range", "huangdao", "jian_chu", "suitable" ], "type": "object" }, "type": [ "null", "array" ] }, "suitability": { "description": "事项适配结论。", "type": "string" }, "wuxing": { "description": "日支五行。", "type": "string" }, "xi_shen": { "description": "喜神方位。", "type": "string" }, "zhi_ji": { "description": "彭祖日支忌。", "type": "string" } }, "required": [ "date", "ri_zhu", "wuxing", "jian_chu", "huangdao", "xi_shen", "cai_shen", "fu_shen", "gan_ji", "zhi_ji", "mansion", "jie_qi", "jie_qi_days", "ren_yuan" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "days" ], "type": "object" } }, { "description": "解读一个已存在的六爻卦象事件。必须传入 liuyao_qigua 返回的完整 event;ask 只读取 event.casting 与 event.casting_context.yong_shen,不接触 question/topic。返回基于用神的证据、应期候选与受控解读,由调用方结合用户问题做领域化解释。本方法不创建新卦。需要时空方位决策时改用 qimen_ask。", "inputSchema": { "additionalProperties": false, "description": "解读一个已存在的六爻卦象事件所需的输入。", "properties": { "event": { "additionalProperties": false, "description": "liuyao_qigua 返回的不可变卦象事件;ask 只读取 casting 与 yong_shen。", "properties": { "casting": { "anyOf": [ { "additionalProperties": false, "description": "Coins casting returned by liuyao_qigua.", "properties": { "coin_convention": { "additionalProperties": false, "description": "铜钱记分约定。", "properties": { "反": { "const": 2, "description": "反面记 2。", "type": "integer" }, "正": { "const": 3, "description": "正面记 3。", "type": "integer" } }, "required": [ "正", "反" ], "type": [ "null", "object" ] }, "dong_yao": { "description": "动爻位置列表,1-6。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "maxItems": 6, "minItems": 0, "type": "array" }, "mode": { "const": "coins", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "rounds": { "description": "六组铜钱记录。", "items": { "additionalProperties": false, "properties": { "coins": { "description": "三枚铜钱正反面。", "items": { "enum": [ "正", "反" ], "type": "string" }, "maxItems": 3, "minItems": 3, "type": "array" }, "is_dong_yao": { "description": "是否动爻。", "type": "boolean" }, "position": { "description": "铜钱记录爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "yao_label": { "description": "爻值名称。", "enum": [ "老阴", "少阳", "少阴", "老阳" ], "type": "string" }, "yao_value": { "description": "本爻爻值。", "maximum": 9, "minimum": 6, "type": "integer" } }, "required": [ "position", "coins", "yao_value", "yao_label", "is_dong_yao" ], "type": "object" }, "type": "array" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "rounds", "yaos", "dong_yao" ], "type": "object" }, { "additionalProperties": false, "description": "Direct line-value casting returned by liuyao_qigua.", "properties": { "dong_yao": { "description": "动爻位置列表,1-6。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "maxItems": 6, "minItems": 0, "type": "array" }, "mode": { "const": "yaos", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "yaos", "dong_yao" ], "type": "object" } ], "description": "一次起卦的完整源事实。" }, "casting_context": { "additionalProperties": false, "description": "起卦地标准时间、经度与解析出的用神。", "properties": { "longitude": { "description": "起卦地经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起卦地标准时间 RFC3339(无 DST)。", "format": "date-time", "type": "string" }, "yong_shen": { "description": "起卦时解析出的用神;chart/ask 唯一取用依据。", "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙", "世爻", "应爻" ], "type": "string" } }, "required": [ "standard_time", "longitude", "yong_shen" ], "type": "object" } }, "required": [ "casting", "casting_context" ], "type": "object" } }, "required": [ "event" ], "type": "object" }, "name": "liuyao_ask", "outputSchema": { "$id": "liki:liuyao-reading", "additionalProperties": false, "description": "六爻问测返回的受控 Reading。", "properties": { "condition_candidates": { "description": "条件还原候选。", "items": { "additionalProperties": false, "description": "Applied condition candidate published in a Reading.", "properties": { "conclusion": { "description": "条件满足时的候选结论。", "type": "string" }, "conclusion_scope": { "const": "conditional_rule_restoration_not_absolute_verdict", "description": "条件还原候选,不是绝对断语。", "type": "string" }, "forbidden": { "description": "禁止的绝对化结论。", "items": { "type": "string" }, "type": "array" }, "id": { "description": "条件候选 ID。", "minLength": 1, "type": "string" }, "requires": { "description": "采信前必须复核的条件。", "items": { "type": "string" }, "type": "array" }, "restored": { "description": "还原后的条件表达。", "type": "string" }, "state": { "description": "当前盘面的条件状态。", "enum": [ "strong", "weak", "conditional" ], "type": "string" }, "statement": { "description": "传统断语原文。", "type": "string" } }, "required": [ "id", "statement", "restored", "state", "conclusion", "requires", "forbidden", "conclusion_scope" ], "type": "object" }, "type": "array" }, "evidence": { "description": "解读依据。", "items": { "additionalProperties": false, "description": "Self-contained evidence returned with a Liuyao reading.", "properties": { "fact": { "additionalProperties": true, "description": "自包含事实内容。", "type": "object" }, "id": { "description": "稳定 evidence ID。", "minLength": 1, "type": "string" }, "layer": { "description": "证据层级。", "enum": [ "primary", "secondary", "reference", "conflict" ], "type": "string" }, "source_kind": { "description": "证据来源类别。", "enum": [ "yongshen_context", "chart", "analysis", "pattern", "moving_relation", "timing", "condition" ], "type": "string" } }, "required": [ "id", "source_kind", "layer", "fact" ], "type": "object" }, "minItems": 1, "type": "array" }, "interpretation": { "additionalProperties": false, "description": "结构化解读结论。", "properties": { "action": { "description": "建议动作或核查点。", "minLength": 4, "type": "string" }, "boundary": { "description": "解读边界。", "minLength": 8, "type": "string" }, "disclaimer": { "description": "结果边界声明。", "minLength": 8, "type": "string" }, "headline": { "description": "一句话解读。", "maxLength": 160, "minLength": 4, "type": "string" }, "verdict": { "description": "条件性判断。", "minLength": 8, "type": "string" } }, "required": [ "headline", "verdict", "action", "boundary", "disclaimer" ], "type": "object" }, "safety_advisory": { "additionalProperties": false, "description": "安全提示。", "properties": { "category": { "description": "风险类别。", "type": [ "null", "string" ] }, "guidance": { "default": "", "description": "处理指引。", "type": "string" }, "message": { "default": "", "description": "安全提示内容。", "type": "string" }, "status": { "description": "安全提示级别。", "enum": [ "allow", "advisory" ], "type": "string" }, "support_first": { "default": false, "description": "是否优先提供支持资源。", "type": "boolean" } }, "required": [ "status" ], "type": "object" }, "technique": { "const": "liuyao", "description": "占测技术。", "type": "string" }, "timing_candidates": { "description": "应期候选。", "items": { "additionalProperties": false, "description": "A projected timing candidate with a stable published ID.", "properties": { "basis": { "description": "引擎依据。", "items": { "type": "string" }, "type": "array" }, "conclusion_scope": { "const": "conditional_timing_candidate_not_date", "description": "结论边界。", "type": "string" }, "horizon": { "description": "适用时间尺度。", "type": "string" }, "id": { "description": "稳定应期候选 ID。", "minLength": 1, "type": "string" }, "mechanism": { "description": "应期机制。", "type": "string" }, "position": { "description": "关联爻位。", "type": [ "null", "integer" ] }, "required_check": { "description": "采信前必须复核的条件。", "type": "string" }, "trigger_branch": { "description": "触发地支。", "type": [ "null", "string" ] }, "window": { "description": "时间窗口类型。", "type": [ "null", "string" ] } }, "required": [ "id", "mechanism", "horizon", "conclusion_scope", "required_check" ], "type": "object" }, "type": "array" } }, "required": [ "technique", "evidence", "timing_candidates", "condition_candidates", "interpretation", "safety_advisory" ], "title": "六爻问测解读契约", "type": "object" } }, { "description": "六爻装卦。只消费 liuyao_qigua 返回的最小 event,读取 event.casting_context.yong_shen,装卦并输出纳甲、六亲、六兽、旺衰、格局、应期与 analysis。本方法不创建卦象事件,也不输出解读。", "inputSchema": { "additionalProperties": false, "properties": { "event": { "additionalProperties": false, "description": "liuyao_qigua 返回的不可变卦象事件。", "properties": { "casting": { "oneOf": [ { "additionalProperties": false, "properties": { "coin_convention": { "additionalProperties": false, "description": "铜钱记分约定。", "properties": { "反": { "const": 2, "description": "反面记 2。", "type": "integer" }, "正": { "const": 3, "description": "正面记 3。", "type": "integer" } }, "required": [ "正", "反" ], "type": [ "null", "object" ] }, "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": [ "null", "array" ] }, "mode": { "const": "coins", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "rounds": { "description": "六组铜钱记录。", "items": { "additionalProperties": false, "properties": { "coins": { "description": "三枚铜钱记录,正/反按调用顺序保留。", "items": { "enum": [ "正", "反" ], "type": "string" }, "maxItems": 3, "minItems": 3, "type": "array" }, "is_dong_yao": { "description": "是否动爻。", "type": "boolean" }, "position": { "description": "爻位,初爻到上爻 1-6。", "maximum": 6, "minimum": 1, "type": "integer" }, "yao_label": { "description": "老阴/少阳/少阴/老阳。", "enum": [ "老阴", "少阳", "少阴", "老阳" ], "type": "string" }, "yao_value": { "description": "三币合计爻值 6-9。", "maximum": 9, "minimum": 6, "type": "integer" } }, "required": [ "position", "coins", "yao_value", "yao_label", "is_dong_yao" ], "type": "object" }, "maxItems": 6, "minItems": 6, "type": "array" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "rounds", "yaos", "dong_yao" ], "type": "object" }, { "additionalProperties": false, "properties": { "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": [ "null", "array" ] }, "mode": { "const": "yaos", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "yaos", "dong_yao" ], "type": "object" } ] }, "casting_context": { "additionalProperties": false, "properties": { "longitude": { "description": "起卦地经度(-180..180);真太阳时校正用于时辰。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起卦地标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" }, "yong_shen": { "description": "起卦时解析出的用神;chart/ask 唯一取用依据。", "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙", "世爻", "应爻" ], "type": "string" } }, "required": [ "standard_time", "longitude", "yong_shen" ], "type": "object" } }, "required": [ "casting", "casting_context" ], "type": [ "null", "object" ] } }, "required": [ "event" ], "type": "object" }, "name": "liuyao_chart", "outputSchema": { "$defs": { "Enum_3568b80210617254": { "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "Enum_58a6a081177741dd": { "enum": [ "世", "应", "" ], "type": "string" }, "Enum_c411b4021648603e": { "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙" ], "type": "string" }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "Enum_e395e1ceca9c15ee": { "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙", "世爻", "应爻" ], "type": "string" }, "Object_65308440c0004ee2": { "additionalProperties": false, "properties": { "dong_ke": { "description": "是否受动爻克。", "type": "boolean" }, "dong_sheng": { "description": "是否受动爻生。", "type": "boolean" }, "moving": { "description": "本爻是否发动。", "type": "boolean" }, "mu_ku": { "description": "是否入墓库。", "type": "boolean" }, "mu_ku_branch": { "description": "墓库地支。", "type": "string" }, "mu_ku_element": { "description": "墓库五行。", "type": "string" }, "xun_kong": { "description": "是否旬空。", "type": "boolean" }, "yue_po": { "description": "是否月破。", "type": "boolean" } }, "required": [ "moving", "yue_po", "xun_kong", "mu_ku", "dong_sheng", "dong_ke" ], "type": "object" }, "Object_a51dc973be9f67f4": { "additionalProperties": false, "properties": { "chang_sheng_yue": { "description": "月令长生状态。", "type": "string" }, "flags": { "$ref": "#/$defs/Object_65308440c0004ee2", "description": "爻位状态标记。" }, "gan_zhi": { "description": "该爻干支。", "type": "string" }, "liu_qin": { "description": "六亲。", "type": "string" }, "liu_shou": { "description": "六神。", "type": "string" }, "position": { "description": "爻位;0 表示未定位。", "maximum": 6, "minimum": 0, "type": "integer" }, "ri_chen_relations": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "description": "与日辰的关系。", "type": "object" }, "shi_ying": { "$ref": "#/$defs/Enum_58a6a081177741dd", "description": "世爻或应爻标记。" }, "wang_shuai": { "description": "旺衰状态。", "type": "string" }, "wuxing": { "description": "该爻五行。", "type": "string" }, "yao_value": { "description": "爻值;0 表示无变爻。", "maximum": 9, "minimum": 0, "type": "integer" } }, "required": [ "position", "yao_value", "gan_zhi", "wuxing", "liu_qin", "liu_shou", "flags" ], "type": "object" } }, "additionalProperties": false, "properties": { "chart": { "additionalProperties": false, "description": "六爻盘面统一视图;analysis 一并置于 chart 内。", "properties": { "analysis": { "additionalProperties": false, "description": "六爻判断层确定性分析事实。", "properties": { "branch_relation_facts": { "description": "爻间地支关系。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "确定性依据。", "items": { "type": "string" }, "type": "array" }, "left_position": { "description": "左侧爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "relations": { "description": "爻间地支关系。", "items": { "type": "string" }, "type": "array" }, "right_position": { "description": "右侧爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "targets": { "description": "关系指向的目标。", "items": { "type": "string" }, "type": "array" } }, "required": [ "left_position", "right_position", "relations" ], "type": "object" }, "type": "array" }, "conflicts": { "description": "并列或矛盾信号。", "items": { "additionalProperties": false, "properties": { "facts": { "description": "构成矛盾的事实。", "items": { "type": "string" }, "type": "array" }, "id": { "description": "并列或矛盾信号 ID。", "enum": [ "moving-support-opposition", "yuanshen-support-opposition", "strong-but-void", "strong-but-break" ], "type": "string" }, "reason": { "description": "为什么必须解释而不是静默择一。", "type": "string" } }, "required": [ "id", "reason" ], "type": "object" }, "type": "array" }, "day_clash_facts": { "description": "日冲事实。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "确定性依据。", "items": { "type": "string" }, "type": "array" }, "condition": { "description": "成立条件或限定说明。", "type": "string" }, "kind": { "description": "日冲效果类型。", "type": "string" }, "position": { "description": "爻位。", "maximum": 6, "minimum": 1, "type": "integer" } }, "required": [ "position", "kind" ], "type": "object" }, "type": "array" }, "dong_yao_relations": { "description": "动爻与用神/原神/忌神关系。", "items": { "additionalProperties": false, "properties": { "position": { "description": "动爻位置 1-6。", "maximum": 6, "minimum": 1, "type": "integer" }, "relations": { "description": "动爻与用神/原神/忌神的关系集合。", "items": { "enum": [ "生用", "克用", "比和", "冲用", "生原神", "克原神", "生忌神", "克忌神" ], "type": "string" }, "type": "array" } }, "required": [ "position", "relations" ], "type": "object" }, "type": "array" }, "hidden_lines": { "description": "本宫全部伏神。", "items": { "additionalProperties": false, "properties": { "exit_condition": { "description": "伏神引拔条件。", "type": "string" }, "fei_fu_relation": { "description": "飞伏关系。", "type": "string" }, "flying_gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "飞神天干。" }, "flying_liu_qin": { "$ref": "#/$defs/Enum_c411b4021648603e", "description": "飞神六亲。" }, "flying_position": { "description": "飞神爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "flying_wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "飞神五行。" }, "flying_zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "飞神地支。" }, "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "伏神天干。" }, "liu_qin": { "$ref": "#/$defs/Enum_c411b4021648603e", "description": "伏神六亲。" }, "mu_ku": { "description": "伏神是否入墓。", "type": "boolean" }, "position": { "description": "伏神爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "伏神五行。" }, "xun_kong": { "description": "伏神是否旬空。", "type": "boolean" }, "yue_po": { "description": "伏神是否月破。", "type": "boolean" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "伏神地支。" } }, "required": [ "position", "liu_qin", "gan", "zhi", "wuxing", "flying_position", "flying_liu_qin", "flying_gan", "flying_zhi", "flying_wuxing", "fei_fu_relation" ], "type": "object" }, "type": "array" }, "moving_transformations": { "description": "动爻机械变化。", "items": { "additionalProperties": false, "properties": { "advance_retreat": { "description": "进神或退神。", "type": "string" }, "basis": { "description": "机械变化依据。", "items": { "type": "string" }, "type": "array" }, "changed_break": { "description": "变爻是否月破。", "type": "boolean" }, "changed_void": { "description": "变爻是否旬空。", "type": "boolean" }, "from_branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "动爻本变前地支。" }, "position": { "description": "动爻位置。", "maximum": 6, "minimum": 1, "type": "integer" }, "return_relation": { "description": "变爻返回本爻的关系。", "type": "string" }, "to_branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "变爻地支。" } }, "required": [ "position", "from_branch", "to_branch" ], "type": "object" }, "type": "array" }, "san_he_candidates": { "description": "三合结构候选。", "items": { "additionalProperties": false, "properties": { "activated": { "description": "是否满足当前确定性成局候选条件。", "type": "boolean" }, "branches": { "description": "参与三合候选的地支。", "items": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601" }, "type": "array" }, "break_count": { "description": "候选中月破爻数。", "type": "integer" }, "complete": { "description": "卦爻与日月补支后三支是否齐。", "type": "boolean" }, "conclusion_scope": { "description": "结论边界;仅结构候选,不直接断结果。", "type": "string" }, "day_present": { "description": "日建是否补支。", "type": "boolean" }, "line_complete": { "description": "卦爻本身是否三支齐。", "type": "boolean" }, "missing": { "description": "缺失的地支。", "items": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601" }, "type": "array" }, "month_present": { "description": "月建是否补支。", "type": "boolean" }, "moving_count": { "description": "候选中发动爻数。", "type": "integer" }, "positions": { "description": "参与三合候选的爻位。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": "array" }, "qualification": { "description": "成局资格限定。", "type": "string" }, "static_count": { "description": "候选中安静爻数。", "type": "integer" }, "targets": { "description": "候选指向的目标。", "items": { "type": "string" }, "type": "array" }, "void_count": { "description": "候选中旬空爻数。", "type": "integer" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "三合局五行。" } }, "required": [ "positions", "branches", "wuxing", "complete", "moving_count", "qualification", "line_complete", "day_present", "month_present", "static_count", "void_count", "break_count", "activated", "conclusion_scope" ], "type": "object" }, "type": "array" }, "timing_candidates": { "description": "应期候选。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "确定性依据。", "items": { "type": "string" }, "type": "array" }, "id": { "description": "应期候选 ID。", "type": "string" }, "mechanism": { "description": "应期机制。", "type": "string" }, "position": { "description": "相关爻位;0 表示卦级候选。", "maximum": 6, "minimum": 0, "type": "integer" }, "trigger_branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "触发地支。" }, "window": { "description": "应期窗口。", "type": "string" } }, "required": [ "id", "mechanism" ], "type": "object" }, "type": "array" }, "tomb_school": { "additionalProperties": false, "description": "土爻墓库流派。", "properties": { "earth_branch": { "description": "土爻墓库地支。", "enum": [ "辰" ], "type": "string" }, "school": { "description": "墓库流派;当前为 engine_default_chen。", "enum": [ "engine_default_chen" ], "type": "string" } }, "required": [ "earth_branch", "school" ], "type": "object" }, "yong_shen_candidates": { "description": "用神候选。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "选择依据。", "items": { "type": "string" }, "type": "array" }, "branch": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "候选地支。" }, "is_hidden": { "description": "是否伏神候选。", "type": "boolean" }, "position": { "description": "候选爻位;0 表示不可见候选。", "maximum": 6, "minimum": 0, "type": "integer" }, "reason": { "description": "选择或列出原因。", "type": "string" }, "selected": { "description": "是否当前确定性选用。", "type": "boolean" }, "wang_shuai": { "description": "候选旺衰。", "enum": [ "旺", "相", "休", "囚", "死" ], "type": "string" } }, "required": [ "position", "branch", "is_hidden", "selected", "reason" ], "type": "object" }, "type": "array" }, "yong_shen_force_chain": { "additionalProperties": false, "description": "用神生克力量链。", "properties": { "entries": { "description": "生扶与克制的结构链。", "items": { "additionalProperties": false, "properties": { "branches": { "description": "同五行地支。", "items": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601" }, "type": "array" }, "note": { "description": "角色说明。", "type": "string" }, "positions": { "description": "同五行爻位。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": "array" }, "relations": { "description": "日建关系。", "items": { "type": "string" }, "type": "array" }, "role": { "description": "力量链角色。", "enum": [ "用神", "原神", "忌神", "仇神" ], "type": "string" }, "states": { "description": "旺衰、动静、空破、入墓状态。", "items": { "type": "string" }, "type": "array" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "角色五行。" } }, "required": [ "role", "wuxing" ], "type": "object" }, "type": "array" }, "is_hidden": { "description": "力量链是否基于伏神。", "type": "boolean" }, "position": { "description": "用神爻位;0 表示伏神链。", "maximum": 6, "minimum": 0, "type": "integer" }, "yong_element": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "用神五行。" }, "yong_shen": { "$ref": "#/$defs/Enum_e395e1ceca9c15ee", "description": "用神类别。" } }, "required": [ "yong_shen", "yong_element", "position", "is_hidden", "entries" ], "type": [ "null", "object" ] } }, "required": [ "tomb_school" ], "type": "object" }, "bian_gua": { "description": "变卦名称;无动爻时为 null。", "type": [ "null", "string" ] }, "bian_lines": { "description": "发生变化的爻。", "items": { "$ref": "#/$defs/Object_a51dc973be9f67f4" }, "type": "array" }, "gua_ci": { "additionalProperties": false, "description": "卦爻辞。", "properties": { "name": { "description": "卦名。", "type": "string" }, "text": { "description": "卦辞原文。", "type": "string" }, "yao_ci": { "description": "各爻爻辞。", "items": { "type": "string" }, "type": "array" } }, "required": [ "name", "text", "yao_ci" ], "type": [ "null", "object" ] }, "gua_name": { "description": "本卦名称。", "type": "string" }, "lines": { "description": "本卦六爻。", "items": { "$ref": "#/$defs/Object_a51dc973be9f67f4" }, "type": "array" }, "palace": { "description": "卦宫。", "type": "string" }, "palace_wuxing": { "description": "卦宫五行。", "type": "string" }, "patterns": { "description": "盘面格局。", "items": { "additionalProperties": false, "properties": { "id": { "description": "格局 ID。", "type": "string" }, "is_true": { "description": "结构是否成立。", "type": "boolean" }, "pattern_kind": { "description": "格局类型。", "type": "string" }, "position": { "description": "关联爻位。", "maximum": 6, "minimum": 0, "type": "integer" }, "sub_type": { "description": "格局子类型。", "type": "string" } }, "required": [ "id", "pattern_kind", "sub_type", "position", "is_true" ], "type": "object" }, "type": "array" }, "ri_gan": { "description": "日辰天干。", "type": "string" }, "ri_zhi": { "description": "日辰地支。", "type": "string" }, "xun_kong": { "description": "旬空地支。", "items": { "type": "string" }, "type": "array" }, "yong_shen": { "additionalProperties": false, "description": "最终用神状态。", "properties": { "chang_sheng": { "description": "用神五行在月支的十二长生。", "type": "string" }, "fu_shen": { "additionalProperties": false, "description": "用神不现时选用的伏神。", "properties": { "liu_qin": { "description": "伏神六亲。", "type": "string" }, "position": { "description": "伏神所在爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "zhi": { "description": "伏神地支。", "type": "string" } }, "required": [ "position", "liu_qin", "zhi" ], "type": [ "null", "object" ] }, "fu_shen_candidates": { "description": "可用伏神候选。", "items": { "additionalProperties": false, "properties": { "liu_qin": { "description": "伏神六亲。", "type": "string" }, "position": { "description": "伏神所在爻位。", "maximum": 6, "minimum": 1, "type": "integer" }, "zhi": { "description": "伏神地支。", "type": "string" } }, "required": [ "position", "liu_qin", "zhi" ], "type": "object" }, "type": "array" }, "is_hidden": { "description": "本卦不现时是否取伏神。", "type": "boolean" }, "liu_shou": { "description": "用神临的六兽;伏神不继承飞神六兽。", "type": "string" }, "mu_ku": { "description": "用神是否入墓。", "type": "boolean" }, "name": { "description": "用神类别。", "type": "string" }, "position": { "description": "用神爻位;0 表示本卦不现。", "type": "integer" }, "wang_shuai": { "description": "用神旺衰。", "type": "string" }, "xun_kong": { "description": "用神是否旬空。", "type": "boolean" }, "yue_po": { "description": "用神是否月破。", "type": "boolean" } }, "required": [ "name", "position", "wang_shuai" ], "type": "object" }, "yue_gan": { "description": "月建天干。", "type": "string" }, "yue_zhi": { "description": "月建地支。", "type": "string" } }, "required": [ "gua_name", "bian_gua", "palace", "palace_wuxing", "lines", "bian_lines", "ri_gan", "ri_zhi", "yue_gan", "yue_zhi", "xun_kong", "patterns", "yong_shen", "analysis" ], "type": "object" }, "event": { "additionalProperties": false, "description": "本次排盘原样回传的不可变卦象事件。", "properties": { "casting": { "oneOf": [ { "additionalProperties": false, "properties": { "coin_convention": { "additionalProperties": false, "description": "铜钱记分约定。", "properties": { "反": { "const": 2, "description": "反面记 2。", "type": "integer" }, "正": { "const": 3, "description": "正面记 3。", "type": "integer" } }, "required": [ "正", "反" ], "type": [ "null", "object" ] }, "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": [ "null", "array" ] }, "mode": { "const": "coins", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "rounds": { "description": "六组铜钱记录。", "items": { "additionalProperties": false, "properties": { "coins": { "description": "三枚铜钱记录,正/反按调用顺序保留。", "items": { "enum": [ "正", "反" ], "type": "string" }, "maxItems": 3, "minItems": 3, "type": "array" }, "is_dong_yao": { "description": "是否动爻。", "type": "boolean" }, "position": { "description": "爻位,初爻到上爻 1-6。", "maximum": 6, "minimum": 1, "type": "integer" }, "yao_label": { "description": "老阴/少阳/少阴/老阳。", "enum": [ "老阴", "少阳", "少阴", "老阳" ], "type": "string" }, "yao_value": { "description": "三币合计爻值 6-9。", "maximum": 9, "minimum": 6, "type": "integer" } }, "required": [ "position", "coins", "yao_value", "yao_label", "is_dong_yao" ], "type": "object" }, "maxItems": 6, "minItems": 6, "type": "array" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "rounds", "yaos", "dong_yao" ], "type": "object" }, { "additionalProperties": false, "properties": { "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": [ "null", "array" ] }, "mode": { "const": "yaos", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "yaos", "dong_yao" ], "type": "object" } ] }, "casting_context": { "additionalProperties": false, "properties": { "longitude": { "description": "起卦地经度(-180..180);真太阳时校正用于时辰。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起卦地标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" }, "yong_shen": { "$ref": "#/$defs/Enum_e395e1ceca9c15ee", "description": "起卦时解析出的用神;chart/ask 唯一取用依据。" } }, "required": [ "standard_time", "longitude", "yong_shen" ], "type": "object" } }, "required": [ "casting", "casting_context" ], "type": "object" } }, "required": [ "event", "chart" ], "type": "object" } }, { "description": "六爻起卦事件创建。origin 与 casting_context(时间、经度、占问焦点)构成唯一不可变事件;起卦时按焦点确定性命理规则解析用神,并写入 event.casting_context.yong_shen。origin.mode=auto 每次都是新占卜事件,coins/yaos 可复现既有卦。question 由调用方持有,不进入 event。返回完整 event,后续 chart/ask 必须原样消费。", "inputSchema": { "$defs": { "Enum_1710231a5c1fca80": { "enum": [ "self", "other", "parents", "children", "siblings", "wealth", "career", "study", "health", "legal", "home", "travel", "lost_item" ], "type": "string" }, "Enum_e395e1ceca9c15ee": { "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙", "世爻", "应爻" ], "type": "string" }, "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_64137d1dacd76ce3": { "additionalProperties": false, "properties": { "focus": { "oneOf": [ { "$ref": "#/$defs/Object_6bd36358a17ac49d" }, { "$ref": "#/$defs/Object_c3c2db4d55bdca3d" }, { "$ref": "#/$defs/Object_8a836abf2b165381" } ] }, "longitude": { "description": "起卦地经度(-180..180);真太阳时校正用于时辰。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起卦地标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "focus" ], "type": "object" }, "Object_6bd36358a17ac49d": { "additionalProperties": false, "properties": { "kind": { "const": "matter", "description": "焦点类型;matter 表示按问事类别推导。", "type": "string" }, "matter": { "$ref": "#/$defs/Enum_1710231a5c1fca80", "description": "问事类别;relationship 需同时提供 perspective。" } }, "required": [ "kind", "matter" ], "type": "object" }, "Object_8a836abf2b165381": { "additionalProperties": false, "properties": { "kind": { "const": "yong_shen", "description": "焦点类型;yong_shen 表示显式用神。", "type": "string" }, "yong_shen": { "$ref": "#/$defs/Enum_e395e1ceca9c15ee", "description": "高级显式用神。" } }, "required": [ "kind", "yong_shen" ], "type": "object" }, "Object_c3c2db4d55bdca3d": { "additionalProperties": false, "properties": { "kind": { "const": "matter", "description": "焦点类型;matter 表示按问事类别推导。", "type": "string" }, "matter": { "const": "relationship", "description": "问事类别;relationship 需同时提供 perspective。", "type": "string" }, "perspective": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "仅 relationship 使用:问卦人性别,male 男占女,female 女占男。" } }, "required": [ "kind", "matter", "perspective" ], "type": "object" } }, "oneOf": [ { "additionalProperties": false, "properties": { "casting_context": { "$ref": "#/$defs/Object_64137d1dacd76ce3" }, "origin": { "additionalProperties": false, "properties": { "mode": { "const": "auto", "description": "起卦模式;auto 使用安全随机。", "type": "string" } }, "required": [ "mode" ], "type": "object" } }, "required": [ "origin", "casting_context" ], "type": "object" }, { "additionalProperties": false, "properties": { "casting_context": { "$ref": "#/$defs/Object_64137d1dacd76ce3" }, "origin": { "additionalProperties": false, "properties": { "mode": { "const": "coins", "description": "起卦模式;coins 要求六组铜钱记录。", "type": "string" }, "rounds": { "description": "六组三枚铜钱,初爻到上爻。", "items": { "items": { "enum": [ "正", "反" ], "type": "string" }, "maxItems": 3, "minItems": 3, "type": "array" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "rounds" ], "type": "object" } }, "required": [ "origin", "casting_context" ], "type": "object" }, { "additionalProperties": false, "properties": { "casting_context": { "$ref": "#/$defs/Object_64137d1dacd76ce3" }, "origin": { "additionalProperties": false, "properties": { "mode": { "const": "yaos", "description": "起卦模式;yaos 要求六个爻值。", "type": "string" }, "yaos": { "description": "六个爻值,初爻到上爻。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "yaos" ], "type": "object" } }, "required": [ "origin", "casting_context" ], "type": "object" } ], "type": "object" }, "name": "liuyao_qigua", "outputSchema": { "additionalProperties": false, "properties": { "event": { "additionalProperties": false, "description": "一次起卦创建的不可变卦象事件。", "properties": { "casting": { "oneOf": [ { "additionalProperties": false, "properties": { "coin_convention": { "additionalProperties": false, "description": "铜钱记分约定。", "properties": { "反": { "const": 2, "description": "反面记 2。", "type": "integer" }, "正": { "const": 3, "description": "正面记 3。", "type": "integer" } }, "required": [ "正", "反" ], "type": [ "null", "object" ] }, "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": "array" }, "mode": { "const": "coins", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "rounds": { "description": "六组铜钱记录。", "items": { "additionalProperties": false, "properties": { "coins": { "description": "三枚铜钱记录,正/反按调用顺序保留。", "items": { "enum": [ "正", "反" ], "type": "string" }, "maxItems": 3, "minItems": 3, "type": "array" }, "is_dong_yao": { "description": "是否动爻。", "type": "boolean" }, "position": { "description": "爻位,初爻到上爻 1-6。", "maximum": 6, "minimum": 1, "type": "integer" }, "yao_label": { "description": "老阴/少阳/少阴/老阳。", "enum": [ "老阴", "少阳", "少阴", "老阳" ], "type": "string" }, "yao_value": { "description": "三币合计爻值 6-9。", "maximum": 9, "minimum": 6, "type": "integer" } }, "required": [ "position", "coins", "yao_value", "yao_label", "is_dong_yao" ], "type": "object" }, "maxItems": 6, "minItems": 6, "type": "array" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "rounds", "yaos", "dong_yao" ], "type": "object" }, { "additionalProperties": false, "properties": { "dong_yao": { "description": "动爻位置列表。", "items": { "maximum": 6, "minimum": 1, "type": "integer" }, "type": "array" }, "mode": { "const": "yaos", "description": "起卦方式。", "type": "string" }, "order": { "const": "bottom_up", "description": "爻序。", "type": "string" }, "yaos": { "description": "六个爻值。", "items": { "maximum": 9, "minimum": 6, "type": "integer" }, "maxItems": 6, "minItems": 6, "type": "array" } }, "required": [ "mode", "order", "yaos", "dong_yao" ], "type": "object" } ] }, "casting_context": { "additionalProperties": false, "properties": { "longitude": { "description": "起卦地经度(-180..180);真太阳时校正用于时辰。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起卦地标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" }, "yong_shen": { "description": "起卦时解析出的用神;chart/ask 唯一取用依据。", "enum": [ "父母", "兄弟", "官鬼", "妻财", "子孙", "世爻", "应爻" ], "type": "string" } }, "required": [ "standard_time", "longitude", "yong_shen" ], "type": "object" } }, "required": [ "casting", "casting_context" ], "type": "object" } }, "required": [ "event" ], "type": "object" } }, { "description": "按精确单字查询起名字库事实:字频、五行、笔画、部首、拼音、声调。不做繁简/异体折叠,不接受多字或空白变体;未收录时 character 为 null。适用于核对单字属性;取字池用 naming_pick,组合候选名用 naming_compose,整名评估用 naming_check。", "inputSchema": { "additionalProperties": false, "description": "单字字库查询输入。", "properties": { "char": { "description": "要查询的单个汉字。", "type": "string" } }, "required": [ "char" ], "type": "object" }, "name": "naming_character", "outputSchema": { "additionalProperties": false, "description": "单字查询结果:根始终是对象(≤2025-11-25 的 MCP wire 模型拒绝非 object\n根的 outputSchema),“未收录”用字段级 null 表达。", "properties": { "character": { "additionalProperties": false, "description": "字库条目;未收录时为 null。", "properties": { "char": { "description": "The character.", "type": "string" }, "frequency": { "description": "汉字使用频层。", "enum": [ "common", "standard", "rare" ], "type": "string" }, "pinyin": { "description": "Pinyin.", "type": "string" }, "radical": { "description": "Radical, when known.", "type": "string" }, "stroke": { "description": "Stroke count.", "type": "integer" }, "tone": { "description": "Tone number.", "type": "integer" }, "wuxing": { "description": "Five element.", "enum": [ "木", "火", "土", "金", "水" ], "type": "string" } }, "required": [ "char", "frequency", "wuxing", "stroke", "pinyin", "tone" ], "type": [ "null", "object" ] } }, "required": [ "character" ], "type": "object" } }, { "description": "独立评估整名,不生成候选名;生成用 naming_compose,取字池用 naming_pick。接受 1-200 个去重候选名,逐个返回 evaluations:invalid 不中断批量,以 valid=false 与结构化 errors 说明长度、字库、禁用/必含字或音律问题。selected_yongshen 直接使用八字裁决对象且仅接受 resolved/partial;省略时不做五行角色评估。", "inputSchema": { "$defs": { "Enum_c97a3d8aae12": { "enum": [ "土", "木", "水", "火", "金" ], "type": "string" } }, "additionalProperties": false, "description": "候选名评估输入。", "properties": { "forbidden_chars": { "description": "用户明确避讳的单字;候选名命中任一字即为 invalid。", "items": { "maxLength": 1, "minLength": 1, "type": "string" }, "maxItems": 32, "type": "array", "uniqueItems": true }, "given_names": { "description": "要评估的名字(单名或双名,1-2 字)。", "items": { "maxLength": 2, "minLength": 1, "type": "string" }, "maxItems": 200, "minItems": 1, "type": "array", "uniqueItems": true }, "required_chars": { "description": "用户要求必含的单字;候选名必须包含全部字符。", "items": { "maxLength": 1, "minLength": 1, "type": "string" }, "maxItems": 2, "type": "array", "uniqueItems": true }, "selected_yongshen": { "additionalProperties": true, "description": "八字用神裁决返回对象;省略时不做五行角色评估。", "properties": { "selected_yongshen": { "additionalProperties": false, "description": "The selected yong/xi/ji five-element plan.", "properties": { "ji": { "description": "忌神五行。", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "xi": { "description": "Elements that support the selected yongshen.", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "yong": { "description": "用神五行;无候选表示未形成可用选择。", "enum": [ "木", "火", "土", "金", "水", "无候选" ], "type": "string" } }, "required": [ "yong", "xi", "ji" ], "type": "object" }, "status": { "description": "用神裁决状态;起名只接受 resolved 或 partial。", "enum": [ "resolved", "partial" ], "type": "string" } }, "required": [ "selected_yongshen", "status" ], "type": [ "null", "object" ] } }, "required": [ "given_names" ], "type": "object" }, "name": "naming_check", "outputSchema": { "additionalProperties": false, "description": "Naming database, phonetic, and five-element evaluations.", "properties": { "evaluations": { "description": "每个候选名的评估结果,按输入顺序。", "items": { "additionalProperties": false, "properties": { "characters": { "description": "Resolved character facts, when valid.", "items": { "additionalProperties": false, "description": "Resolved character facts for one evaluated character.", "properties": { "char": { "description": "The character.", "maxLength": 1, "minLength": 1, "type": "string" }, "frequency": { "description": "Character usage tier.", "enum": [ "common", "standard", "rare" ], "type": "string" }, "pinyin": { "description": "Pinyin.", "minLength": 1, "type": "string" }, "radical": { "description": "Radical, when known.", "type": [ "null", "string" ] }, "stroke": { "description": "Stroke count.", "minimum": 1, "type": "integer" }, "tone": { "description": "Tone number.", "maximum": 5, "minimum": 0, "type": "integer" }, "wuxing": { "description": "Character 五行。", "enum": [ "木", "火", "土", "金", "水" ], "type": "string" }, "wuxing_role": { "description": "该字对照五行计划的实际角色;未评估时为 null。", "enum": [ "yong", "xi", "ji", "neutral" ], "type": [ "null", "string" ] } }, "required": [ "char", "frequency", "wuxing", "stroke", "pinyin", "tone" ], "type": "object" }, "type": [ "null", "array" ] }, "errors": { "description": "Validation errors, if any.", "items": { "additionalProperties": false, "description": "One structured naming-validation error.", "properties": { "char": { "description": "出错的单字;长度错误、禁用字或缺失必含字时为对应字,否则为 null。", "maxLength": 1, "minLength": 1, "type": [ "null", "string" ] }, "code": { "description": "机器可读错误码。", "enum": [ "invalid_name_length", "character_not_found", "negative_character_forbidden", "forbidden_character", "required_character_missing" ], "type": "string" } }, "required": [ "code" ], "type": "object" }, "type": [ "null", "array" ] }, "given_name": { "description": "Evaluated given name.", "type": "string" }, "phonetic": { "additionalProperties": false, "description": "Tone sequence, when valid.", "properties": { "tones": { "description": "声调序列,按字序以 - 连接(如 2-3)。", "pattern": "^\\d(-\\d)?$", "type": "string" } }, "required": [ "tones" ], "type": [ "null", "object" ] }, "valid": { "description": "Whether the name passed all checks.", "type": "boolean" } }, "required": [ "given_name", "valid" ], "type": "object" }, "type": "array" } }, "required": [ "evaluations" ], "type": "object" } }, { "description": "将已收录且非禁用的字组合为候选名:单名=first_chars 单字,双名=first_chars×second_chars 两字组合;按 first_chars 顺序生成并在 max_names 处截断。输入字池须来自 naming_pick,重复字会被拒绝。组合后的候选名评估用 naming_check,单字事实查询用 naming_character。", "inputSchema": { "additionalProperties": false, "description": "候选名组合输入。", "properties": { "first_chars": { "description": "第一位可选字(1-256 个)。", "items": { "maxLength": 4, "minLength": 1, "type": "string" }, "maxItems": 256, "minItems": 1, "type": "array", "uniqueItems": true }, "max_names": { "default": 100, "description": "返回候选名上限。", "maximum": 1000, "minimum": 1, "type": "integer" }, "second_chars": { "description": "第二位可选字(双名用,1-256 个);省略=单名。", "items": { "maxLength": 4, "minLength": 1, "type": "string" }, "maxItems": 256, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "first_chars" ], "type": "object" }, "name": "naming_compose", "outputSchema": { "additionalProperties": false, "description": "Candidate given names composed from validated character pools.", "properties": { "names": { "description": "Generated given-name candidates.", "items": { "type": "string" }, "type": "array" } }, "required": [ "names" ], "type": "object" } }, { "description": "按用/喜五行角色取字池:selected_yongshen 直接使用八字用神裁决返回;first_role 与 second_role 选择字位角色,second_role 省略表示单名;生成阶段不提供 ji 字池。字池产出后组合候选名用 naming_compose,组合前查单字事实用 naming_character。", "inputSchema": { "$defs": { "Enum_c97a3d8aae12": { "enum": [ "土", "木", "水", "火", "金" ], "type": "string" } }, "additionalProperties": false, "description": "按用/喜角色取字池的输入。", "properties": { "first_role": { "default": "yong", "description": "第一字位角色;只能是 yong 或 xi。", "enum": [ "yong", "xi" ], "type": "string" }, "second_role": { "description": "第二字位角色;省略表示单名,只能是 yong 或 xi。", "enum": [ "yong", "xi" ], "type": [ "null", "string" ] }, "selected_yongshen": { "additionalProperties": true, "description": "八字用神裁决返回对象。", "properties": { "selected_yongshen": { "additionalProperties": false, "description": "The selected yong/xi/ji five-element plan.", "properties": { "ji": { "description": "忌神五行。", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "xi": { "description": "Elements that support the selected yongshen.", "items": { "$ref": "#/$defs/Enum_c97a3d8aae12" }, "type": "array", "uniqueItems": true }, "yong": { "description": "用神五行;无候选表示未形成可用选择。", "enum": [ "木", "火", "土", "金", "水", "无候选" ], "type": "string" } }, "required": [ "yong", "xi", "ji" ], "type": "object" }, "status": { "description": "用神裁决状态;起名只接受 resolved 或 partial。", "enum": [ "resolved", "partial" ], "type": "string" } }, "required": [ "selected_yongshen", "status" ], "type": "object" } }, "required": [ "selected_yongshen" ], "type": "object" }, "name": "naming_pick", "outputSchema": { "additionalProperties": false, "description": "Character pools selected for requested five-element positions.", "properties": { "pools": { "description": "按字位返回的字池。", "items": { "additionalProperties": false, "properties": { "char_position": { "description": "Position of the character in the given name.", "enum": [ "first", "second" ], "type": "string" }, "chars": { "description": "Available characters and frequency.", "items": { "additionalProperties": false, "properties": { "char": { "description": "Candidate Chinese character.", "type": "string" }, "frequency": { "description": "汉字使用频层。", "enum": [ "common", "standard", "rare" ], "type": "string" } }, "required": [ "char", "frequency" ], "type": "object" }, "type": "array" }, "role": { "description": "五行角色。", "enum": [ "yong", "xi" ], "type": "string" }, "wuxing": { "description": "该字位的五行。", "enum": [ "木", "火", "土", "金", "水" ], "type": "string" } }, "required": [ "wuxing", "char_position", "role", "chars" ], "type": "object" }, "type": "array" } }, "required": [ "pools" ], "type": "object" } }, { "description": "按发音匹配候选姓氏:源姓必须是 Latin 拼音/英文拼写,匹配前会 trim、lowercase 并折叠常见拉丁变体;按 pinyin_exact / romanization_exact / phonetic_close 排序,无匹配时按百家姓顺序回退。max_candidates 是硬上限。仅处理姓氏;取字池用 naming_pick,整名评估用 naming_check。", "inputSchema": { "additionalProperties": false, "description": "按发音匹配姓氏的输入。", "properties": { "max_candidates": { "default": 6, "description": "返回候选数上限。", "maximum": 12, "minimum": 1, "type": "integer" }, "source_surname": { "description": "源姓氏的拉丁拼音或英文拼写(如 zhang / chan / lee)。", "type": "string" } }, "required": [ "source_surname" ], "type": "object" }, "name": "naming_surname", "outputSchema": { "additionalProperties": false, "description": "Ordered Chinese surname candidates for a Latin source surname.", "properties": { "candidates": { "description": "Ordered surname candidates.", "items": { "additionalProperties": false, "properties": { "baijiaxing_index": { "description": "Classic Baijiaxing order index.", "minimum": 1, "type": "integer" }, "basis": { "description": "Match basis tokens.", "items": { "type": "string" }, "type": "array" }, "match_kind": { "description": "确定性匹配类型。", "enum": [ "pinyin_exact", "romanization_exact", "phonetic_close", "fallback_baijiaxing" ], "type": "string" }, "pinyin": { "description": "Candidate pinyin.", "type": "string" }, "surname": { "description": "Chinese surname candidate.", "type": "string" }, "tone": { "description": "Candidate surname tone number.", "maximum": 5, "minimum": 0, "type": "integer" } }, "required": [ "surname", "pinyin", "tone", "baijiaxing_index", "match_kind" ], "type": "object" }, "type": "array" }, "source_surname": { "description": "Normalized Latin source surname.", "type": "string" } }, "required": [ "source_surname", "candidates" ], "type": "object" } }, { "description": "schema 合法出生主体 + start_year/year_count/life_topics → 八字与紫微逐年流年合参断语。subject 必须来自用户确认事实或 subject_candidates;时间模糊先归一化确认。服务端内部计算因子;失败年保留结构化 error,不中断整批。只要单个原始流盘用 bazi_liupan / ziwei_liupan;本命断语用 natal_query。", "inputSchema": { "additionalProperties": false, "description": "八字与紫微流年合参断语输入。", "properties": { "life_topics": { "description": "人生问题域(同 natal_query)。", "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, "type": "array", "uniqueItems": true }, "start_year": { "description": "起始流年年号。", "minimum": 1, "type": "integer" }, "subject": { "additionalProperties": false, "description": "已考时归一化的出生主体。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "minLength": 1, "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" }, "year_count": { "description": "连续查询年数。", "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [ "subject", "start_year", "year_count", "life_topics" ], "type": "object" }, "name": "natal_liunian_query", "outputSchema": { "$defs": { "0fd6548aabf4": { "additionalProperties": false, "properties": { "assertions": { "description": "该侧流年断语。", "items": { "additionalProperties": false, "properties": { "assertion_id": { "description": "Stable assertion id.", "type": "string" }, "conclusion": { "description": "Deterministic assertion conclusion.", "type": "string" }, "event": { "description": "事件摘要。", "type": "string" }, "event_type": { "description": "事件类型。", "type": "string" }, "evidence": { "description": "Factor evidence used by the rule.", "items": { "additionalProperties": false, "properties": { "actual": { "description": "因子实际值。", "type": [ "null", "string" ] }, "condition_group": { "description": "条件组编号。", "type": [ "null", "integer" ] }, "expected": { "description": "因子期望值。", "type": [ "null", "string" ] }, "factor": { "description": "命中的因子名。", "type": "string" }, "gender_scope": { "$ref": "#/$defs/Enum_186f4b1fcd46", "description": "性别专属因子的作用范围。" } }, "required": [ "factor" ], "type": "object" }, "type": "array" }, "life_topics": { "description": "命中的受控人生问题域。", "items": { "$ref": "#/$defs/Enum_644023795c29" }, "minItems": 1, "type": "array" }, "rule_id": { "description": "命理断语规则 ID。", "type": "string" }, "source": { "additionalProperties": false, "description": "断语规则来源与依据。", "properties": { "basis": { "description": "规则依据。", "type": "string" }, "classic_basis": { "description": "经典依据。", "type": "string" }, "kind": { "const": "assertion_table", "description": "断语来源类型。", "type": "string" }, "rule_domain": { "description": "断语规则在来源表中的命理领域。", "type": "string" } }, "required": [ "kind", "rule_domain", "basis", "classic_basis" ], "type": "object" } }, "required": [ "assertion_id", "life_topics", "rule_id", "event_type", "event", "conclusion", "source" ], "type": "object" }, "type": "array" }, "counts": { "additionalProperties": false, "description": "命中、过滤与返回计数。", "properties": { "filtered": { "description": "未返回的命中次数。", "minimum": 0, "type": "integer" }, "filtered_by": { "additionalProperties": false, "description": "过滤原因计数。", "properties": { "deduplicated": { "description": "跨规则重复命中的去重次数。", "minimum": 0, "type": "integer" }, "topic_not_selected": { "description": "因所属领域未被选中而过滤的次数。", "minimum": 0, "type": "integer" } }, "required": [ "topic_not_selected", "deduplicated" ], "type": "object" }, "matched": { "description": "来源断语命中次数。", "minimum": 0, "type": "integer" }, "returned": { "description": "过滤后返回的断语数。", "minimum": 0, "type": "integer" } }, "required": [ "matched", "returned", "filtered", "filtered_by" ], "type": "object" } }, "required": [ "assertions", "counts" ], "type": "object" }, "Enum_186f4b1fcd46": { "enum": [ "女", "男" ], "type": [ "null", "string" ] }, "Enum_644023795c29": { "enum": [ "adversity", "appearance", "career", "chart_structure", "children", "family", "health", "marriage", "mental", "origin", "personality", "property", "relocation", "social", "study", "wealth" ], "type": "string" } }, "additionalProperties": false, "description": "Deterministic Liunian assertions.", "properties": { "natal_chart_digest": { "description": "流年计算使用的完整本命盘摘要。", "pattern": "^[a-f0-9]{64}$", "type": "string" }, "years": { "description": "逐年流年结果。", "items": { "anyOf": [ { "additionalProperties": false, "properties": { "bazi": { "$ref": "#/$defs/0fd6548aabf4", "description": "八字流年断语。" }, "year": { "description": "流年年号。", "type": "integer" }, "ziwei": { "$ref": "#/$defs/0fd6548aabf4", "description": "紫微流年断语。" } }, "required": [ "year", "bazi", "ziwei" ], "type": "object" }, { "additionalProperties": false, "properties": { "error": { "additionalProperties": false, "description": "流年计算失败信息。", "properties": { "code": { "const": "ENGINE_UNAVAILABLE", "description": "错误码。", "type": "string" }, "message": { "description": "错误信息。", "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "year": { "description": "流年年号。", "type": "integer" } }, "required": [ "year", "error" ], "type": "object" } ] }, "type": "array" } }, "required": [ "natal_chart_digest", "years" ], "type": "object" } }, { "description": "schema 合法的出生主体 + 人生问题 → 八字与紫微本命合参断语。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。只要原始本命盘时改用 bazi_chart / ziwei_chart;逐年流年断语用 natal_liunian_query。因子计算由服务端内部完成,不对外返回。", "inputSchema": { "additionalProperties": false, "description": "八字与紫微本命合参断语输入。", "properties": { "life_topics": { "description": "人生问题域。", "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, "type": "array", "uniqueItems": true }, "subject": { "additionalProperties": false, "description": "已考时归一化的出生主体。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "minLength": 1, "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "required": [ "subject", "life_topics" ], "type": "object" }, "name": "natal_query", "outputSchema": { "$defs": { "Enum_186f4b1fcd46": { "enum": [ "女", "男" ], "type": [ "null", "string" ] }, "Enum_644023795c29": { "enum": [ "adversity", "appearance", "career", "chart_structure", "children", "family", "health", "marriage", "mental", "origin", "personality", "property", "relocation", "social", "study", "wealth" ], "type": "string" }, "ff16d87cfa08": { "additionalProperties": false, "properties": { "assertions": { "description": "该侧命理断语结果。", "items": { "additionalProperties": false, "properties": { "assertion_id": { "description": "Stable assertion id.", "type": "string" }, "conclusion": { "description": "Deterministic assertion conclusion.", "type": "string" }, "event": { "description": "事件摘要。", "type": "string" }, "event_type": { "description": "事件类型。", "type": "string" }, "evidence": { "description": "Factor evidence used by the rule.", "items": { "additionalProperties": false, "properties": { "actual": { "description": "因子实际值。", "type": [ "null", "string" ] }, "condition_group": { "description": "条件组编号。", "type": [ "null", "integer" ] }, "expected": { "description": "因子期望值。", "type": [ "null", "string" ] }, "factor": { "description": "命中的因子名。", "type": "string" }, "gender_scope": { "$ref": "#/$defs/Enum_186f4b1fcd46", "description": "性别专属因子的作用范围。" } }, "required": [ "factor" ], "type": "object" }, "type": "array" }, "life_topics": { "description": "命中的受控人生问题域。", "items": { "$ref": "#/$defs/Enum_644023795c29" }, "minItems": 1, "type": "array" }, "rule_id": { "description": "命理断语规则 ID。", "type": "string" }, "source": { "additionalProperties": false, "description": "断语规则来源与依据。", "properties": { "basis": { "description": "规则依据。", "type": "string" }, "classic_basis": { "description": "经典依据。", "type": "string" }, "kind": { "const": "assertion_table", "description": "断语来源类型。", "type": "string" }, "rule_domain": { "description": "断语规则在来源表中的命理领域。", "type": "string" } }, "required": [ "kind", "rule_domain", "basis", "classic_basis" ], "type": "object" } }, "required": [ "assertion_id", "life_topics", "rule_id", "event_type", "event", "conclusion", "source" ], "type": "object" }, "type": "array" }, "counts": { "additionalProperties": false, "description": "命中、过滤与返回计数。", "properties": { "filtered": { "description": "未返回的命中次数。", "minimum": 0, "type": "integer" }, "filtered_by": { "additionalProperties": false, "description": "过滤原因计数。", "properties": { "deduplicated": { "description": "跨规则重复命中的去重次数。", "minimum": 0, "type": "integer" }, "topic_not_selected": { "description": "因所属领域未被选中而过滤的次数。", "minimum": 0, "type": "integer" } }, "required": [ "topic_not_selected", "deduplicated" ], "type": "object" }, "matched": { "description": "来源断语命中次数。", "minimum": 0, "type": "integer" }, "returned": { "description": "过滤后返回的断语数。", "minimum": 0, "type": "integer" } }, "required": [ "matched", "returned", "filtered", "filtered_by" ], "type": "object" } }, "required": [ "assertions", "counts" ], "type": "object" } }, "additionalProperties": false, "description": "Deterministic natal assertions for requested topics.", "properties": { "bazi": { "$ref": "#/$defs/ff16d87cfa08", "description": "八字本命断语。" }, "natal_chart_digest": { "description": "完整本命盘 SHA-256 摘要。", "pattern": "^[a-f0-9]{64}$", "type": "string" }, "ziwei": { "$ref": "#/$defs/ff16d87cfa08", "description": "紫微本命断语。" } }, "required": [ "natal_chart_digest", "bazi", "ziwei" ], "type": "object" } }, { "description": "一次完成奇门起局、因子投影和结构化解读,适用于需要时空方位信息的决策类问题(出行、谈判、寻物、择时方位等)。longitude 必填,城市需先转换;subject 与金函玉镜不兼容,非法组合在解读前失败。同一事禁止重新排局,后续追问基于本次 Reading 解释;起卦问事(得卦象而非方位盘)改用 liuyao_ask。", "inputSchema": { "$defs": { "Enum_a0491a06e9be": { "enum": [ "chaibu", "zhirun" ], "type": "string" }, "Enum_be2285109430": { "enum": [ "luoshu_feipan", "zhuanpan" ], "type": "string" }, "Enum_c312bc8e642a": { "enum": [ "chaibu", "maoshan", "zhirun" ], "type": "string" } }, "additionalProperties": false, "description": "一次完成奇门排盘与受控解读所需的输入。", "properties": { "focus": { "anyOf": [ { "additionalProperties": false, "description": "按普通事象推导奇门用神。", "properties": { "kind": { "const": "matter", "description": "焦点类型:普通事象。", "type": "string" }, "matter": { "description": "普通事象。", "enum": [ "career", "health", "hiding", "legal", "missing_person", "relationship", "study", "travel", "wealth" ], "type": "string" } }, "required": [ "kind", "matter" ], "type": "object" }, { "additionalProperties": false, "description": "显式指定奇门用神符号。", "properties": { "kind": { "const": "yong_shen", "description": "焦点类型:显式用神。", "type": "string" }, "yong_shen": { "description": "盘面符号:九星/八门/八神/天干等。", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "kind", "yong_shen" ], "type": "object" }, { "type": "null" } ], "description": "普通事象或显式用神;quarter / specialized rule 可按规则省略。" }, "longitude": { "description": "起局地经度(-180..180);必须显式传入,城市需先转换为经度。", "maximum": 180, "minimum": -180, "type": "number" }, "method": { "anyOf": [ { "additionalProperties": false, "description": "时家奇门 + 转盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_c312bc8e642a", "description": "定局法。" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "时家奇门 + 洛书飞盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "luoshu_feipan", "description": "洛书飞盘法。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "时家奇门 + 鸣法飞盘法;盘式固定定局。", "properties": { "school": { "const": "mingfa_feipan", "description": "鸣法飞盘;定局由盘式固定。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "日家奇门 + 转盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "日家奇门 + 洛书飞盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "luoshu_feipan", "description": "洛书飞盘法。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "月家周期奇门;转盘或洛书飞盘。", "properties": { "school": { "$ref": "#/$defs/Enum_be2285109430", "description": "盘式流派。" }, "scope": { "const": "month", "description": "月家周期奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "年家周期奇门;转盘或洛书飞盘。", "properties": { "school": { "$ref": "#/$defs/Enum_be2285109430", "description": "盘式流派。" }, "scope": { "const": "year", "description": "年家周期奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "刻家奇门:十分钟三元刻家。", "properties": { "quarter_rule": { "const": "ten_minute_sanyuan", "description": "十分钟三元刻家。", "type": "string" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "quarter", "description": "刻家奇门。", "type": "string" } }, "required": [ "scope", "school", "quarter_rule" ], "type": "object" }, { "additionalProperties": false, "description": "刻家奇门:十二分钟十分局刻家。", "properties": { "base_dingju_method": { "$ref": "#/$defs/Enum_c312bc8e642a", "description": "基准时家定局法。" }, "dun_source": { "description": "分遁口径。", "enum": [ "hour_branch", "solar_term" ], "type": "string" }, "hour_boundary": { "description": "时辰界。", "enum": [ "late_zi", "zi_zheng" ], "type": "string" }, "quarter_rule": { "const": "twelve_minute_ten_division", "description": "十二分钟十分局刻家。", "type": "string" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "quarter", "description": "刻家奇门。", "type": "string" } }, "required": [ "scope", "school", "quarter_rule", "base_dingju_method", "dun_source", "hour_boundary" ], "type": "object" }, { "additionalProperties": false, "description": "日家金函玉镜专用盘。", "properties": { "school": { "const": "jinhan_yujing", "description": "金函玉镜专用盘。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" } ], "description": "奇门方法事实;用户未指定高级方法时按 schema 描述选择常规组合,不臆造高级参数。" }, "question": { "description": "本次要判断的一个具体目标", "type": "string" }, "rule": { "description": "可选专占规则;由因子契约校验适用盘型", "enum": [ "lost_property", "thief_capture", "missing_person", "capture_escape", "thief_profile" ], "type": "string" }, "standard_time": { "description": "起局地标准时间 RFC3339(无 DST);来自用户明确事实或既有工具结果,节气换局按此时刻判定。", "format": "date-time", "type": "string" }, "subject": { "additionalProperties": false, "description": "可选命主;提供时用于年命干落宫;金函玉镜不接受。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "出生地经度;来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "出生地标准时间,RFC3339 fixed offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "minLength": 1, "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": [ "null", "object" ] } }, "required": [ "question", "standard_time", "method", "longitude" ], "type": "object" }, "name": "qimen_ask", "outputSchema": { "$defs": { "Enum_64e85a42d99d": { "enum": [ "capture_escape", "career", "health", "hiding", "legal", "lost_property", "missing_person", "palace_relation", "relationship", "study", "thief_capture", "thief_profile", "timing", "travel", "wealth" ], "type": "string" }, "Enum_a0491a06e9be": { "enum": [ "chaibu", "zhirun" ], "type": "string" }, "Enum_be2285109430": { "enum": [ "luoshu_feipan", "zhuanpan" ], "type": "string" }, "Enum_c312bc8e642a": { "enum": [ "chaibu", "maoshan", "zhirun" ], "type": "string" } }, "$id": "liki:qimen-reading", "additionalProperties": false, "description": "奇门一次性问测返回的受控 Reading。", "properties": { "evidence": { "description": "解读依据。", "items": { "additionalProperties": false, "description": "Self-contained evidence returned with a one-shot Qimen reading.", "properties": { "fact": { "description": "自包含事实内容。" }, "fact_ref": { "description": "因子或断语来源引用。", "type": "string" }, "id": { "description": "稳定 evidence ID。", "minLength": 1, "type": "string" }, "layer": { "description": "证据层级。", "enum": [ "context", "structure", "relation", "focus", "assertion" ], "type": "string" } }, "required": [ "id", "fact_ref", "layer", "fact" ], "type": "object" }, "minItems": 1, "type": "array" }, "focus": { "anyOf": [ { "additionalProperties": false, "description": "Matter focus resolved through the closed routing table.", "properties": { "basis": { "description": "映射依据。", "type": "string" }, "kind": { "const": "matter", "description": "焦点类型:普通事象。", "type": "string" }, "matter": { "description": "普通事象。", "enum": [ "career", "health", "hiding", "legal", "missing_person", "relationship", "study", "travel", "wealth" ], "type": "string" }, "name": { "description": "事象名称。", "type": "string" }, "symbols": { "description": "事象映射的用神符号。", "items": { "type": "string" }, "type": "array" } }, "required": [ "kind", "matter", "name", "symbols", "basis" ], "type": "object" }, { "additionalProperties": false, "description": "显式指定奇门用神符号。", "properties": { "kind": { "const": "yong_shen", "description": "焦点类型:显式用神。", "type": "string" }, "yong_shen": { "description": "盘面符号:九星/八门/八神/天干等。", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true } }, "required": [ "kind", "yong_shen" ], "type": "object" }, { "type": "null" } ], "description": "解析后的问测焦点。" }, "interpretation": { "additionalProperties": false, "description": "结构化解读结论。", "properties": { "action": { "description": "建议动作或核查点。", "minLength": 4, "type": "string" }, "boundary": { "description": "解读边界。", "minLength": 8, "type": "string" }, "disclaimer": { "description": "结果边界声明。", "minLength": 8, "type": "string" }, "headline": { "description": "一句话解读。", "maxLength": 160, "minLength": 4, "type": "string" }, "verdict": { "description": "条件性判断。", "minLength": 8, "type": "string" } }, "required": [ "headline", "verdict", "action", "boundary", "disclaimer" ], "type": "object" }, "judgment_assertions": { "description": "通用判断候选。", "items": { "additionalProperties": false, "description": "Hit judgment candidate published in a Reading.", "properties": { "basis": { "description": "判断依据。", "type": "string" }, "conclusion": { "description": "条件性结论。", "type": "string" }, "conclusion_scope": { "description": "结论边界。", "type": "string" }, "forbidden": { "description": "禁止的绝对化表述。", "items": { "type": "string" }, "type": "array" }, "id": { "description": "判断候选 ID。", "type": "string" }, "name": { "description": "判断名称。", "type": "string" }, "statement": { "description": "传统断语原文。", "type": "string" } }, "required": [ "id", "name", "statement", "conclusion", "basis", "forbidden", "conclusion_scope" ], "type": "object" }, "type": "array" }, "method": { "anyOf": [ { "additionalProperties": false, "description": "时家奇门 + 转盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_c312bc8e642a", "description": "定局法。" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "时家奇门 + 洛书飞盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "luoshu_feipan", "description": "洛书飞盘法。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "时家奇门 + 鸣法飞盘法;盘式固定定局。", "properties": { "school": { "const": "mingfa_feipan", "description": "鸣法飞盘;定局由盘式固定。", "type": "string" }, "scope": { "const": "hour", "description": "时家奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "日家奇门 + 转盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "日家奇门 + 洛书飞盘法;定局法可选,缺省拆补。", "properties": { "dingju_method": { "$ref": "#/$defs/Enum_a0491a06e9be", "description": "定局法。" }, "school": { "const": "luoshu_feipan", "description": "洛书飞盘法。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school", "dingju_method" ], "type": "object" }, { "additionalProperties": false, "description": "月家周期奇门;转盘或洛书飞盘。", "properties": { "school": { "$ref": "#/$defs/Enum_be2285109430", "description": "盘式流派。" }, "scope": { "const": "month", "description": "月家周期奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "年家周期奇门;转盘或洛书飞盘。", "properties": { "school": { "$ref": "#/$defs/Enum_be2285109430", "description": "盘式流派。" }, "scope": { "const": "year", "description": "年家周期奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" }, { "additionalProperties": false, "description": "刻家奇门:十分钟三元刻家。", "properties": { "quarter_rule": { "const": "ten_minute_sanyuan", "description": "十分钟三元刻家。", "type": "string" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "quarter", "description": "刻家奇门。", "type": "string" } }, "required": [ "scope", "school", "quarter_rule" ], "type": "object" }, { "additionalProperties": false, "description": "刻家奇门:十二分钟十分局刻家。", "properties": { "base_dingju_method": { "$ref": "#/$defs/Enum_c312bc8e642a", "description": "基准时家定局法。" }, "dun_source": { "description": "分遁口径。", "enum": [ "hour_branch", "solar_term" ], "type": "string" }, "hour_boundary": { "description": "时辰界。", "enum": [ "late_zi", "zi_zheng" ], "type": "string" }, "quarter_rule": { "const": "twelve_minute_ten_division", "description": "十二分钟十分局刻家。", "type": "string" }, "school": { "const": "zhuanpan", "description": "转盘法。", "type": "string" }, "scope": { "const": "quarter", "description": "刻家奇门。", "type": "string" } }, "required": [ "scope", "school", "quarter_rule", "base_dingju_method", "dun_source", "hour_boundary" ], "type": "object" }, { "additionalProperties": false, "description": "日家金函玉镜专用盘。", "properties": { "school": { "const": "jinhan_yujing", "description": "金函玉镜专用盘。", "type": "string" }, "scope": { "const": "day", "description": "日家奇门。", "type": "string" } }, "required": [ "scope", "school" ], "type": "object" } ], "description": "所用奇门方法。" }, "qi_ju": { "additionalProperties": false, "description": "起局事实。", "properties": { "longitude": { "description": "起局经度。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "起局地标准时间。", "format": "date-time", "type": "string" } }, "required": [ "longitude", "standard_time" ], "type": "object" }, "question": { "description": "本次问测问题。", "minLength": 2, "type": "string" }, "safety_advisory": { "additionalProperties": false, "description": "安全提示。", "properties": { "category": { "description": "风险类别。", "type": [ "null", "string" ] }, "guidance": { "default": "", "description": "处理指引。", "type": "string" }, "message": { "default": "", "description": "安全提示内容。", "type": "string" }, "status": { "description": "安全提示级别。", "enum": [ "allow", "advisory" ], "type": "string" }, "support_first": { "default": false, "description": "是否优先提供支持资源。", "type": "boolean" } }, "required": [ "status" ], "type": "object" }, "scope": { "additionalProperties": false, "description": "本次 Reading 的受控范围。", "properties": { "excluded_domains": { "description": "本次 Reading 不覆盖的领域。", "items": { "$ref": "#/$defs/Enum_64e85a42d99d" }, "type": "array", "uniqueItems": true }, "focus_kind": { "description": "问测焦点类型。", "enum": [ "matter", "yong_shen" ], "type": "string" }, "focus_value": { "description": "问测焦点值。", "type": [ "null", "string" ] }, "followup_policy": { "additionalProperties": false, "description": "追问范围与重新问测边界。", "properties": { "another_matter": { "const": "requires_new_case", "description": "另一事项需新起问测。", "type": "string" }, "beyond_returned_evidence": { "const": "answer_insufficient", "description": "超出 Reading 证据时不得作答。", "type": "string" }, "new_domain": { "const": "requires_new_case", "description": "新领域需新起问测。", "type": "string" }, "recast_same_matter": { "const": "forbidden", "description": "同一事项禁止重起盘卦。", "type": "string" }, "same_matter": { "additionalProperties": false, "description": "同一事项追问范围。", "properties": { "clarification": { "const": "allowed_from_reading", "description": "可基于 Reading 澄清同一事项。", "type": "string" }, "obstacle": { "const": "allowed_from_reading", "description": "可基于 Reading 讨论阻碍。", "type": "string" }, "timing": { "const": "allowed_from_reading", "description": "可基于 Reading 讨论应期。", "type": "string" } }, "required": [ "clarification", "timing", "obstacle" ], "type": "object" } }, "required": [ "same_matter", "new_domain", "another_matter", "recast_same_matter", "beyond_returned_evidence" ], "type": "object" }, "included_domains": { "description": "本次 Reading 覆盖的领域。", "items": { "$ref": "#/$defs/Enum_64e85a42d99d" }, "type": "array", "uniqueItems": true }, "rule": { "description": "专占规则;无专占时为 null。", "enum": [ "lost_property", "thief_capture", "missing_person", "capture_escape", "thief_profile" ], "type": [ "null", "string" ] } }, "required": [ "focus_kind", "followup_policy" ], "type": "object" }, "special_assertions": { "description": "专占断语候选。", "items": { "additionalProperties": false, "properties": { "basis": { "description": "断语依据。", "type": "string" }, "conclusion": { "description": "条件性结论。", "type": "string" }, "evidence": { "description": "命中的结构化证据。", "items": { "additionalProperties": false, "properties": { "actual": { "anyOf": [ {}, { "type": "null" } ], "description": "盘面实际值。" }, "expected": { "anyOf": [ {}, { "type": "null" } ], "description": "规则期望值。" }, "field": { "description": "命中的因子字段。", "type": "string" }, "item_key": { "description": "数组因子中的取值键。", "type": [ "null", "string" ] }, "matched": { "anyOf": [ {}, { "type": "null" } ], "description": "命中的候选对象。" }, "operator": { "description": "条件操作符。", "type": "string" } }, "required": [ "field", "operator" ], "type": "object" }, "type": "array" }, "id": { "description": "专占断语 ID。", "type": "string" }, "name": { "description": "专占断语名称。", "type": "string" } }, "required": [ "id", "name", "conclusion", "basis", "evidence" ], "type": "object" }, "type": "array" }, "technique": { "const": "qimen", "description": "占测技术。", "type": "string" }, "timing_candidates": { "description": "应期候选。", "items": { "additionalProperties": true, "description": "A qimen timing candidate with a stable published ID.", "properties": { "branch": { "description": "候选相关地支。", "type": [ "null", "string" ] }, "id": { "description": "稳定应期候选 ID。", "minLength": 1, "type": "string" }, "palace": { "description": "候选相关宫位。", "type": [ "null", "string" ] }, "related_to": { "description": "候选关联主体。", "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": [ "null", "array" ] }, "ying_qi_kind": { "description": "应期机制;无明确机制时为 null。", "type": [ "null", "string" ] } }, "required": [ "id" ], "type": "object" }, "type": "array" } }, "required": [ "technique", "question", "scope", "qi_ju", "method", "evidence", "timing_candidates", "special_assertions", "judgment_assertions", "interpretation", "safety_advisory" ], "title": "奇门一次性问测解读契约", "type": "object" } }, { "description": "把民用时间事实归一化为 canonical subject 候选:接受公历/农历壁钟、时辰或同日区间;longitude_range 可选,表示地点边界不确定性。返回候选列表,input 候选恒定第一,边界派生候选按时间排序,每个候选附 reasons;longitude_range 省略时只用精确 longitude,非法时间、时区或范围直接报错。时间明确时直接组装下游 subject;模糊或触及时辰、日界、交节、夏令时边界时先调用本工具并等待确认。地点未知先用 city_info,不得静默选择候选或编造缺失时间/地点。", "inputSchema": { "$defs": { "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_24507fe783c2da3c": { "additionalProperties": false, "properties": { "east": { "description": "地点东界经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "west": { "description": "地点西界经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" } }, "required": [ "west", "east" ], "type": [ "null", "object" ] } }, "oneOf": [ { "additionalProperties": false, "description": "公历日期 + 当地壁钟精确时间。", "properties": { "calendar_kind": { "const": "solar", "description": "壁钟日期口径:solar 或 lunar。", "type": "string" }, "longitude": { "description": "地点经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "longitude_range": { "$ref": "#/$defs/Object_24507fe783c2da3c", "description": "地点行政范围(东西经度);可选。" }, "record_timezone": { "description": "记录时间所在时区(IANA)。", "type": "string" }, "recorded_date": { "description": "公历日期 YYYY-MM-DD。", "type": "string" }, "recorded_time": { "description": "当地壁钟时间 HH:MM 或 HH:MM:SS(分钟/秒精度)。", "type": "string" }, "subject_gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" } }, "required": [ "calendar_kind", "recorded_date", "recorded_time", "record_timezone", "longitude", "subject_gender" ], "title": "solar_wall_clock", "type": "object" }, { "additionalProperties": false, "description": "农历日期 + 当地壁钟精确时间。", "properties": { "calendar_kind": { "const": "lunar", "description": "壁钟日期口径:solar 或 lunar。", "type": "string" }, "longitude": { "description": "地点经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "longitude_range": { "$ref": "#/$defs/Object_24507fe783c2da3c", "description": "地点行政范围(东西经度);可选。" }, "record_timezone": { "description": "记录时间所在时区(IANA)。", "type": "string" }, "recorded_lunar": { "additionalProperties": false, "description": "农历日期(含闰月标记 leap)。", "properties": { "day": { "description": "农历日(1-30)。", "type": "integer" }, "leap": { "description": "是否闰月。", "type": "boolean" }, "month": { "description": "农历月(1-12)。", "type": "integer" }, "year": { "description": "农历年(1900-2100)。", "type": "integer" } }, "required": [ "year", "month", "day" ], "type": [ "null", "object" ] }, "recorded_time": { "description": "当地壁钟时间 HH:MM 或 HH:MM:SS。", "type": "string" }, "subject_gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" } }, "required": [ "calendar_kind", "recorded_lunar", "recorded_time", "record_timezone", "longitude", "subject_gender" ], "title": "lunar_wall_clock", "type": "object" }, { "additionalProperties": false, "description": "公历日期 + 已知时辰。", "properties": { "calendar_kind": { "const": "solar", "description": "壁钟日期口径:solar 或 lunar。", "type": "string" }, "longitude": { "description": "地点经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "longitude_range": { "$ref": "#/$defs/Object_24507fe783c2da3c", "description": "地点行政范围(东西经度);可选。" }, "record_timezone": { "description": "记录时间所在时区(IANA)。", "type": "string" }, "recorded_date": { "description": "公历日期 YYYY-MM-DD。", "type": "string" }, "recorded_shichen": { "description": "已知时辰(真太阳时基,2 小时)。", "type": "string" }, "subject_gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" } }, "required": [ "calendar_kind", "recorded_date", "recorded_shichen", "record_timezone", "longitude", "subject_gender" ], "title": "solar_shichen", "type": "object" }, { "additionalProperties": false, "description": "公历日期 + 同日民用时间区间。", "properties": { "calendar_kind": { "const": "solar", "description": "壁钟日期口径:solar 或 lunar。", "type": "string" }, "longitude": { "description": "地点经度(-180..180)。", "maximum": 180, "minimum": -180, "type": "number" }, "longitude_range": { "$ref": "#/$defs/Object_24507fe783c2da3c", "description": "地点行政范围(东西经度);可选。" }, "record_timezone": { "description": "记录时间所在时区(IANA)。", "type": "string" }, "recorded_date": { "description": "公历日期 YYYY-MM-DD。", "type": "string" }, "recorded_time_range": { "additionalProperties": false, "description": "同日民用时间区间。", "properties": { "end": { "description": "区间终点 HH:MM(不含)。", "type": "string" }, "start": { "description": "区间起点 HH:MM(含)。", "type": "string" } }, "required": [ "start", "end" ], "type": [ "null", "object" ] }, "subject_gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别。" } }, "required": [ "calendar_kind", "recorded_date", "recorded_time_range", "record_timezone", "longitude", "subject_gender" ], "title": "solar_time_range", "type": "object" } ], "type": "object" }, "name": "subject_candidates", "outputSchema": { "additionalProperties": false, "properties": { "candidates": { "description": "候选列表:永远包含一个 input 候选;其余为边界派生。", "items": { "additionalProperties": false, "properties": { "reasons": { "description": "候选原因;input 候选恒定存在。", "items": { "additionalProperties": false, "properties": { "explanation": { "description": "领域术语说明(如 输入时间、丑时、立春后、夏令时)。", "type": "string" }, "reason_kind": { "description": "原因领域:input / 时辰 / 日界 / 交节 / 时制。", "type": "string" } }, "required": [ "reason_kind", "explanation" ], "type": "object" }, "type": [ "null", "array" ] }, "subject": { "additionalProperties": false, "description": "候选 canonical 出生主体;用户确认后可原样用于下游 subject 参数,客户端也可用明确事实组装等价 subject。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "required": [ "subject", "reasons" ], "type": "object" }, "type": [ "null", "array" ] } }, "required": [ "candidates" ], "type": "object" } }, { "description": "按 IANA 时区返回服务端当前标准时间(无 DST);空值、无效或未知 timezone 直接报错。所有「现在/今天/当前年份」运算以本返回值为唯一时间基准。用户出生时间不走本工具:民用/农历/时辰/日界模糊时先用 subject_candidates;地点或时区未知先用 city_info;黄历择日用 huangli_days。", "inputSchema": { "additionalProperties": false, "properties": { "timezone": { "description": "IANA timezone, e.g. Asia/Shanghai. Required.", "type": "string" } }, "required": [ "timezone" ], "type": "object" }, "name": "time_now", "outputSchema": { "additionalProperties": false, "properties": { "local_standard_time": { "description": "当前时区标准时间(无 DST),RFC3339。", "type": "string" } }, "required": [ "local_standard_time" ], "type": "object" } }, { "description": "玄空飞星起盘:按宅体事实日期(建成、入住或改宅)与二十四山坐向,排九宫飞星盘。评估阳宅固定风水格局时调用;流年飞星变化改用 xuankong_liunian。注意起盘日期不是命主出生时间。", "inputSchema": { "additionalProperties": false, "properties": { "standard_time": { "description": "宅运起盘地标准日期时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" }, "xiang_shan": { "description": "朝向;必须与坐山相对。", "maximum": 23, "minimum": 0, "type": "integer" }, "zuo_shan": { "description": "坐山,二十四山 index。", "maximum": 23, "minimum": 0, "type": "integer" } }, "required": [ "standard_time", "zuo_shan", "xiang_shan" ], "type": "object" }, "name": "xuankong_chart", "outputSchema": { "$defs": { "Enum_61bd71e39773c401": { "enum": [ "白", "黑", "碧", "绿", "黄", "赤", "紫" ], "type": "string" }, "Enum_b00fba477008276b": { "enum": [ "一白贪狼", "二黑巨门", "三碧禄存", "四绿文曲", "五黄廉贞", "六白武曲", "七赤破军", "八白左辅", "九紫右弼" ], "type": "string" }, "Enum_c97a3d8aae122726": { "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "Enum_cee53bcbce10caa9": { "enum": [ "子", "癸", "丑", "艮", "寅", "甲", "卯", "乙", "辰", "巽", "巳", "丙", "午", "丁", "未", "坤", "申", "庚", "酉", "辛", "戌", "乾", "亥", "壬" ], "type": "string" }, "Object_7c45c34b16f50ace": { "additionalProperties": false, "properties": { "color": { "$ref": "#/$defs/Enum_61bd71e39773c401", "description": "紫白星颜色。" }, "name": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "紫白星名。" }, "number": { "description": "紫白星数。", "maximum": 9, "minimum": 1, "type": "integer" }, "wuxing": { "$ref": "#/$defs/Enum_c97a3d8aae122726", "description": "星五行。" } }, "required": [ "number", "color", "name", "wuxing" ], "type": "object" } }, "additionalProperties": false, "properties": { "fan_yin_layers": { "description": "反吟层。", "items": { "enum": [ "运盘反吟", "山星反吟", "向星反吟" ], "type": "string" }, "type": [ "null", "array" ] }, "four_situation": { "additionalProperties": false, "description": "四大局。", "properties": { "face_facing_timely": { "description": "向宫向星是否当令。", "type": "boolean" }, "face_mountain_timely": { "description": "向宫山星是否当令。", "type": "boolean" }, "name": { "description": "四大局名称。", "enum": [ "旺山旺向", "双星会坐", "双星会向", "上山下水", "未入四大局" ], "type": "string" }, "sit_facing_timely": { "description": "坐宫向星是否当令。", "type": "boolean" }, "sit_mountain_timely": { "description": "坐宫山星是否当令。", "type": "boolean" } }, "required": [ "name", "sit_mountain_timely", "face_facing_timely", "sit_facing_timely", "face_mountain_timely" ], "type": "object" }, "fu_yin_layers": { "description": "伏吟层。", "items": { "enum": [ "运盘伏吟", "山星伏吟", "向星伏吟", "全盘伏吟" ], "type": "string" }, "type": [ "null", "array" ] }, "gong_wei": { "description": "九宫运星/山星/向星。", "items": { "additionalProperties": false, "properties": { "gong_num": { "description": "洛书宫数。", "maximum": 9, "minimum": 1, "type": "integer" }, "shan_xing": { "$ref": "#/$defs/Object_7c45c34b16f50ace", "description": "山星。" }, "xiang_xing": { "$ref": "#/$defs/Object_7c45c34b16f50ace", "description": "向星。" }, "yun_xing": { "$ref": "#/$defs/Object_7c45c34b16f50ace", "description": "运星。" } }, "required": [ "gong_num", "yun_xing", "shan_xing", "xiang_xing" ], "type": "object" }, "maxItems": 9, "minItems": 9, "type": "array" }, "shou_shan_chu_sha": { "additionalProperties": false, "description": "收山出煞理气判断。", "properties": { "assessment": { "description": "收山出煞理气评估。", "enum": [ "收山得宜、拨水入零堂,理气合局(完整收山出煞须验实际砂水)", "收山得宜(坐宫山星当令);拨水入零堂未得,向首零神不见水", "拨水入零堂得宜(向宫向星零神);收山未得,坐宫山星不当令", "收山、拨水入零堂俱未得,宜择时改向并验实际砂水" ], "type": "string" }, "chu_sha": { "description": "理气出煞是否得宜。", "type": "boolean" }, "ling_shen": { "description": "当运零神星数。", "maximum": 9, "minimum": 1, "type": "integer" }, "shou_shan": { "description": "理气收山是否得宜。", "type": "boolean" }, "zheng_shen": { "description": "当运正神星数。", "maximum": 9, "minimum": 1, "type": "integer" } }, "required": [ "zheng_shen", "ling_shen", "shou_shan", "chu_sha", "assessment" ], "type": "object" }, "xiang_shan": { "description": "向山(0-23)。", "maximum": 23, "minimum": 0, "type": "integer" }, "xiang_shan_name": { "$ref": "#/$defs/Enum_cee53bcbce10caa9", "description": "向山名。" }, "xing_jia_hui": { "description": "星加会。", "items": { "additionalProperties": false, "properties": { "meaning": { "description": "星曜加会通则含义。", "type": "string" }, "name": { "description": "星曜加会名称。", "type": "string" }, "shan_num": { "description": "山星数。", "maximum": 9, "minimum": 1, "type": "integer" }, "xiang_num": { "description": "向星数。", "maximum": 9, "minimum": 1, "type": "integer" } }, "required": [ "shan_num", "xiang_num", "name", "meaning" ], "type": "object" }, "maxItems": 9, "minItems": 9, "type": "array" }, "yun": { "additionalProperties": false, "description": "三元九运。", "properties": { "end_year": { "description": "运结束公历年份。", "type": "integer" }, "start_year": { "description": "运起始公历年份。", "type": "integer" }, "year": { "description": "立春年份。", "maximum": 2200, "minimum": 1864, "type": "integer" }, "year_boundary": { "description": "年界:立春。", "enum": [ "lichun" ], "type": "string" }, "yuan": { "description": "三元元运。", "enum": [ "上元", "中元", "下元" ], "type": "string" }, "yun_name": { "description": "运名。", "enum": [ "一运", "二运", "三运", "四运", "五运", "六运", "七运", "八运", "九运" ], "type": "string" }, "yun_number": { "description": "运数。", "maximum": 9, "minimum": 1, "type": "integer" } }, "required": [ "year", "year_boundary", "yuan", "yun_number", "yun_name", "start_year", "end_year" ], "type": "object" }, "zuo_shan": { "description": "坐山(0-23)。", "maximum": 23, "minimum": 0, "type": "integer" }, "zuo_shan_name": { "$ref": "#/$defs/Enum_cee53bcbce10caa9", "description": "坐山名。" } }, "required": [ "yun", "gong_wei", "four_situation", "fu_yin_layers", "fan_yin_layers", "xing_jia_hui", "zuo_shan", "zuo_shan_name", "xiang_shan", "xiang_shan_name", "shou_shan_chu_sha" ], "type": "object" } }, { "description": "玄空流年飞星:在宅运盘上叠加指定年份,返回流年飞星盘;count=1(默认)单年,count>1 连续批量。评估阳宅某一年风水变化时调用;固定格局用 xuankong_chart,尚未起宅运盘的也先调用 xuankong_chart。", "inputSchema": { "additionalProperties": false, "properties": { "count": { "description": "连续查询年数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "standard_time": { "description": "流年选择地标准时间(无 DST),RFC3339 带 offset。", "format": "date-time", "type": "string" }, "xiang_shan": { "description": "朝向;必须与坐山相对。", "maximum": 23, "minimum": 0, "type": "integer" }, "zuo_shan": { "description": "坐山,二十四山 index。", "maximum": 23, "minimum": 0, "type": "integer" } }, "required": [ "standard_time", "zuo_shan", "xiang_shan" ], "type": "object" }, "name": "xuankong_liunian", "outputSchema": { "$defs": { "Enum_b00fba477008276b": { "enum": [ "一白贪狼", "二黑巨门", "三碧禄存", "四绿文曲", "五黄廉贞", "六白武曲", "七赤破军", "八白左辅", "九紫右弼" ], "type": "string" } }, "additionalProperties": false, "properties": { "liu_nian": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gong_wei": { "description": "九宫流年紫白星。", "items": { "additionalProperties": false, "properties": { "gong_num": { "description": "洛书宫数。", "maximum": 9, "minimum": 1, "type": "integer" }, "ru_zhong": { "description": "是否入中。", "type": "boolean" }, "wuxing": { "description": "星五行。", "enum": [ "水", "土", "木", "金", "火" ], "type": "string" }, "xing": { "description": "紫白星数。", "maximum": 9, "minimum": 1, "type": "integer" }, "xing_name": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "紫白星名。" } }, "required": [ "gong_num", "xing", "xing_name", "wuxing", "ru_zhong" ], "type": "object" }, "maxItems": 9, "minItems": 9, "type": "array" }, "house_overlay": { "description": "全部流年星落宫对照宅盘该宫三星;不预设星曜固有吉凶。", "items": { "additionalProperties": false, "properties": { "gong_num": { "description": "洛书宫数。", "maximum": 9, "minimum": 1, "type": "integer" }, "palace_stars": { "description": "宅盘该宫运星/山星/向星。", "type": "string" }, "star": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "流年星名。" } }, "required": [ "gong_num", "star", "palace_stars" ], "type": "object" }, "type": [ "null", "array" ] }, "nian_jie": { "additionalProperties": false, "description": "玄空流年立春年界。", "properties": { "boundary_day": { "description": "输入瞬间的当地日期是否为立春边界日。", "type": "boolean" }, "lichun_end": { "description": "下一立春日(不含)。", "format": "date", "type": "string" }, "lichun_start": { "description": "立春年起始公历日(含)。", "format": "date", "type": "string" }, "lichun_year": { "description": "该瞬间所在的立春年。", "type": "integer" }, "standard_time": { "description": "流年选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "lichun_year", "lichun_start", "lichun_end", "boundary_day" ], "type": "object" }, "ru_zhong": { "$ref": "#/$defs/Enum_b00fba477008276b", "description": "入中紫白星。" }, "year": { "description": "立春年份。", "maximum": 2200, "minimum": 1864, "type": "integer" } }, "required": [ "year", "ru_zhong", "gong_wei", "nian_jie" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" } }, "required": [ "liu_nian" ], "type": "object" } }, { "description": "紫微合盘原始事实。a/b 必须是用户确认事实或 subject_candidates 归一化后的主体,不得手造模糊时间。用户询问两人关系并需要紫微侧证据时调用;八字干支与十神视角改用 bazi_bond,两者常配合使用。并排返回双方命宫、夫妻宫、子女宫主星;不做跨盘投射和合婚评级。", "inputSchema": { "$defs": { "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_135540fcadfb3552": { "additionalProperties": false, "properties": { "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "subject" ], "type": "object" }, "Object_693482bdda0a9c8e": { "additionalProperties": false, "properties": { "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别;来自用户明确事实。" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "additionalProperties": false, "properties": { "a": { "$ref": "#/$defs/Object_135540fcadfb3552", "description": "甲方:已归一化的出生主体。" }, "b": { "$ref": "#/$defs/Object_135540fcadfb3552", "description": "乙方:已归一化的出生主体。" } }, "required": [ "a", "b" ], "type": "object" }, "name": "ziwei_bond", "outputSchema": { "$defs": { "Object_8743d2d6d0f43da3": { "additionalProperties": false, "properties": { "a": { "additionalProperties": false, "description": "甲方。", "properties": { "major_stars": { "items": { "type": "string" }, "type": [ "null", "array" ] }, "palace": { "type": "string" } }, "required": [ "palace", "major_stars" ], "type": "object" }, "b": { "additionalProperties": false, "description": "乙方。", "properties": { "major_stars": { "items": { "type": "string" }, "type": [ "null", "array" ] }, "palace": { "type": "string" } }, "required": [ "palace", "major_stars" ], "type": "object" }, "status": { "description": "主星状态说明。", "type": "string" } }, "required": [ "a", "b", "status" ], "type": "object" } }, "additionalProperties": false, "properties": { "fu_qi_gong": { "$ref": "#/$defs/Object_8743d2d6d0f43da3", "description": "双方夫妻宫。" }, "ming_gong": { "$ref": "#/$defs/Object_8743d2d6d0f43da3", "description": "双方本命宫。" }, "zi_nv_gong": { "$ref": "#/$defs/Object_8743d2d6d0f43da3", "description": "双方子女宫。" } }, "required": [ "ming_gong", "fu_qi_gong", "zi_nv_gong" ], "type": "object" } }, { "description": "紫微斗数排本命盘并返回确定性宫位事实。subject 可由用户明确事实组装,也可取自用户确认后的 subject_candidates 候选;时间模糊或多候选时先归一化并确认。需要十二宫主星、亮度、四化、杂曜、长生博士十二神、小限或大限时调用。两人合盘用 ziwei_bond,流盘用 ziwei_liupan,八字紫微断语合参用 natal_query。", "inputSchema": { "additionalProperties": false, "properties": { "subject": { "additionalProperties": false, "description": "已归一化的出生主体。", "properties": { "gender": { "description": "性别;来自用户明确事实。", "enum": [ "male", "female" ], "type": "string" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "required": [ "subject" ], "type": "object" }, "name": "ziwei_chart", "outputSchema": { "$defs": { "Enum_0a9661daa68f09b8": { "enum": [ "仆役", "兄弟", "命宫", "夫妻", "子女", "官禄", "父母", "田宅", "疾厄", "福德", "财帛", "迁移" ], "type": "string" }, "Enum_3568b80210617254": { "enum": [ "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" ], "type": "string" }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" } }, "additionalProperties": false, "properties": { "birth_is_leap": { "description": "出生农历月是否闰月。", "type": "boolean" }, "birth_lunar_month": { "description": "出生原始农历月。", "type": "integer" }, "birth_year": { "description": "出生公历年。", "type": "integer" }, "da_xian": { "description": "十年大限序列。", "items": { "additionalProperties": false, "properties": { "end_year": { "description": "本限结束公历年", "type": "integer" }, "ming_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "大限命宫。" }, "qi_sui": { "description": "起运虚岁。", "type": "integer" }, "start_year": { "description": "本限起始公历年", "type": "integer" }, "zhi_sui": { "description": "止运虚岁。", "type": "integer" } }, "required": [ "start_year", "end_year", "qi_sui", "zhi_sui", "ming_gong" ], "type": "object" }, "maxItems": 12, "minItems": 12, "type": "array" }, "ge_ju": { "description": "紫微格局候选。", "items": { "additionalProperties": false, "properties": { "description": { "description": "说明;展示文本由内容层管理。", "type": [ "null", "string" ] }, "name": { "description": "格局名。", "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": [ "null", "array" ] }, "ju_shu": { "description": "局数机器码。", "enum": [ "water_2", "wood_3", "metal_4", "earth_5", "fire_6" ], "type": "string" }, "ju_shu_name": { "description": "局数名。", "type": "string" }, "kong_gong": { "description": "空宫借星;只表达宫位关系,星曜由 jie_gong 宫承载。", "items": { "additionalProperties": false, "properties": { "jie_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "借星来源宫;其主星即空宫所借。" }, "kong_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "无主星宫。" } }, "required": [ "kong_gong", "jie_gong" ], "type": "object" }, "type": [ "null", "array" ] }, "kou_jing": { "additionalProperties": false, "description": "排盘口径。", "properties": { "leap_month": { "description": "闰月取月口径。", "enum": [ "first_fifteen_days_current_month_next_fifteen_days_following_month" ], "type": "string" }, "source": { "description": "排盘口径来源。", "enum": [ "iztro_compatible" ], "type": "string" } }, "required": [ "leap_month", "source" ], "type": "object" }, "lunar_day": { "description": "排盘农历日。", "type": "integer" }, "lunar_month": { "description": "排盘调整农历月。", "type": "integer" }, "ming_zhu": { "description": "命主。", "type": "string" }, "nian_gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "年干。" }, "nian_zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "年支。" }, "san_fang_si_zheng": { "additionalProperties": false, "description": "命宫三方四正的宫位关系;星曜由所引宫位承载。", "properties": { "ming_gong": { "description": "三方四正宫位:命宫、财帛、官禄、迁移。", "items": { "$ref": "#/$defs/Enum_0a9661daa68f09b8" }, "type": [ "null", "array" ] } }, "required": [ "ming_gong" ], "type": "object" }, "shen_zhu": { "description": "身主。", "type": "string" }, "shi_er_gong": { "description": "十二宫;从命宫起顺布。", "items": { "additionalProperties": false, "properties": { "bo_shi": { "description": "博士十二神。", "type": [ "null", "string" ] }, "chang_sheng": { "description": "长生十二宫。", "enum": [ "", "临官", "养", "冠带", "墓", "帝旺", "死", "沐浴", "病", "绝", "胎", "衰", "长生" ], "type": [ "null", "string" ] }, "gan": { "$ref": "#/$defs/Enum_3568b80210617254", "description": "宫干。" }, "jiang_qian": { "description": "将前十二神。", "type": [ "null", "string" ] }, "lai_yin_gong": { "description": "是否来因宫。", "type": [ "null", "boolean" ] }, "ming": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "宫名。" }, "shen_gong": { "description": "是否身宫。", "type": [ "null", "boolean" ] }, "sui_qian": { "description": "岁前十二神。", "type": [ "null", "string" ] }, "xiao_xian": { "description": "小限年龄。", "items": { "type": "integer" }, "type": [ "null", "array" ] }, "xing_yao": { "description": "星曜列表。", "items": { "additionalProperties": false, "properties": { "lei": { "description": "星曜类别:zhu_xing/fu_xing/liu_ji/wen_xing/sha_xing。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "liang_du": { "description": "亮度。", "type": [ "null", "string" ] }, "ming": { "description": "星曜名。", "type": [ "null", "string" ] }, "si_hua": { "description": "四化。", "enum": [ "忌", "权", "禄", "科" ], "type": [ "null", "string" ] } }, "required": [ "ming" ], "type": "object" }, "type": [ "null", "array" ] }, "za_yao": { "description": "杂曜。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "宫支。" } }, "required": [ "ming", "gan", "zhi", "xing_yao" ], "type": "object" }, "maxItems": 12, "minItems": 12, "type": "array" }, "shi_zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "时支。" } }, "required": [ "kou_jing", "shi_er_gong", "ju_shu", "ju_shu_name", "nian_gan", "shi_zhi", "birth_year", "san_fang_si_zheng", "da_xian" ], "type": "object" } }, { "description": "紫微流盘:按 scope 返回 liu_nian/liu_yue/liu_ri/liu_shi 对应的领域数组,字段见 output schema。count=1(默认)单层,count>1 连续批量;standard_time 为当地标准时间,liu_shi 必须带经度。只返回确定性流盘事实,不做断语;本命盘用 ziwei_chart,八字紫微逐年合参断语用 natal_liunian_query。", "inputSchema": { "$defs": { "Enum_f1c34956050abbed": { "enum": [ "male", "female" ], "type": "string" }, "Object_693482bdda0a9c8e": { "additionalProperties": false, "properties": { "gender": { "$ref": "#/$defs/Enum_f1c34956050abbed", "description": "性别;来自用户明确事实。" }, "longitude": { "description": "地点经度(-180..180);来自用户确认地点、地点检索结果或既有事实。", "maximum": 180, "minimum": -180, "type": "number" }, "standard_time": { "description": "当地标准时间(fixed offset,无 DST),RFC3339 带 offset;来自用户明确事实或 subject_candidates 候选,不得编造。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "longitude", "gender" ], "type": "object" } }, "oneOf": [ { "additionalProperties": false, "properties": { "count": { "description": "连续查询年数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "liu_nian", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流年选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询月数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "liu_yue", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流月选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询日数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "scope": { "const": "liu_ri", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流日选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time" ], "type": "object" }, { "additionalProperties": false, "properties": { "count": { "description": "连续查询时辰数。", "maximum": 50, "minimum": 1, "type": [ "null", "integer" ] }, "longitude": { "description": "地点经度(-180..180);真太阳时校正用于时辰。", "maximum": 180, "minimum": -180, "type": "number" }, "scope": { "const": "liu_shi", "description": "流盘层级。", "type": "string" }, "standard_time": { "description": "流时选择起点:local standard time,RFC3339 fixed offset。", "format": "date-time", "type": "string" }, "subject": { "$ref": "#/$defs/Object_693482bdda0a9c8e", "description": "已归一化的出生主体。" } }, "required": [ "scope", "subject", "standard_time", "longitude" ], "type": "object" } ], "type": "object" }, "name": "ziwei_liupan", "outputSchema": { "$defs": { "Enum_0a9661daa68f09b8": { "enum": [ "仆役", "兄弟", "命宫", "夫妻", "子女", "官禄", "父母", "田宅", "疾厄", "福德", "财帛", "迁移" ], "type": "string" }, "Enum_c8bf5d32ca0ac601": { "enum": [ "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" ], "type": "string" }, "Enum_cc267add9cec80e9": { "enum": [ "忌", "权", "禄", "科" ], "type": "string" }, "Object_4fbbfa7639f42646": { "additionalProperties": false, "properties": { "is_liu_ming": { "description": "是否流盘命宫。", "type": "boolean" }, "name": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "宫名。" }, "stars": { "description": "流曜。", "items": { "type": "string" }, "type": [ "null", "array" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "地支。" } }, "required": [ "zhi", "name", "stars", "is_liu_ming" ], "type": "object" }, "Object_8580070d84779969": { "additionalProperties": false, "properties": { "hua": { "$ref": "#/$defs/Enum_cc267add9cec80e9", "description": "化禄/化权/化科/化忌。" }, "palace": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "本命星所在宫。" }, "star": { "description": "被化的本命星。", "type": "string" } }, "required": [ "star", "hua", "palace" ], "type": "object" }, "Object_c158ae049dbb2950": { "additionalProperties": false, "properties": { "day": { "description": "农历日。", "type": "integer" }, "leap": { "description": "是否闰月。", "type": "boolean" }, "month": { "description": "农历月。", "type": "integer" }, "year": { "description": "农历年。", "type": "integer" } }, "required": [ "year", "month", "day", "leap" ], "type": "object" } }, "additionalProperties": false, "maxProperties": 1, "minProperties": 1, "properties": { "liu_nian": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gong_wei": { "description": "流年十二宫盘。", "items": { "$ref": "#/$defs/Object_4fbbfa7639f42646" }, "type": [ "null", "array" ] }, "ming_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "命宫。" }, "nian_jie": { "additionalProperties": false, "description": "流年农历年界。", "properties": { "boundary_day": { "description": "输入日期是否为正月初一边界日(归入新年)。", "type": "boolean" }, "lunar_year": { "description": "该日期所在的农历年。", "type": "integer" }, "lunar_year_end": { "description": "下一正月初一公历日(不含)。", "format": "date", "type": "string" }, "lunar_year_start": { "description": "正月初一公历日(含)。", "format": "date", "type": "string" }, "standard_time": { "description": "流年选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" }, "start_date": { "description": "按选定农历基准取的流年选择日期。", "format": "date", "type": "string" } }, "required": [ "standard_time", "start_date", "lunar_year", "lunar_year_start", "lunar_year_end", "boundary_day" ], "type": "object" }, "si_hua": { "description": "四化事实:星、化、落宫。", "items": { "$ref": "#/$defs/Object_8580070d84779969" }, "type": [ "null", "array" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "流年地支" } }, "required": [ "ming_gong", "zhi", "si_hua", "gong_wei", "nian_jie" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_ri": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gong_wei": { "description": "流日十二宫盘。", "items": { "$ref": "#/$defs/Object_4fbbfa7639f42646" }, "type": [ "null", "array" ] }, "ming_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "命宫。" }, "ri_jie": { "additionalProperties": false, "description": "流日日界。", "properties": { "local_date": { "description": "流日当地民用日。", "format": "date", "type": "string" }, "lunar": { "$ref": "#/$defs/Object_c158ae049dbb2950", "description": "该日期对应的农历日期。" }, "standard_time": { "description": "流日选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "local_date", "lunar" ], "type": "object" }, "si_hua": { "description": "四化事实:星、化、落宫。", "items": { "$ref": "#/$defs/Object_8580070d84779969" }, "type": [ "null", "array" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "流日地支" } }, "required": [ "ri_jie", "ming_gong", "zhi", "si_hua", "gong_wei" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_shi": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gong_wei": { "description": "流时十二宫盘。", "items": { "$ref": "#/$defs/Object_4fbbfa7639f42646" }, "type": [ "null", "array" ] }, "ming_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "命宫。" }, "shi_chen": { "additionalProperties": false, "description": "流时时辰定位。", "properties": { "local_date": { "description": "流时当地标准日。", "format": "date", "type": "string" }, "lunar": { "$ref": "#/$defs/Object_c158ae049dbb2950", "description": "该日期对应的农历日期。" }, "shichen": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "真太阳时时辰。" }, "standard_time": { "description": "流时选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" } }, "required": [ "standard_time", "local_date", "lunar", "shichen" ], "type": "object" }, "si_hua": { "description": "四化事实:星、化、落宫。", "items": { "$ref": "#/$defs/Object_8580070d84779969" }, "type": [ "null", "array" ] }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "流时地支" } }, "required": [ "ming_gong", "zhi", "si_hua", "gong_wei", "shi_chen" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "liu_yue": { "description": "领域事实序列;长度与请求 count 一致。", "items": { "additionalProperties": false, "properties": { "gong_wei": { "description": "流月十二宫盘。", "items": { "$ref": "#/$defs/Object_4fbbfa7639f42646" }, "type": [ "null", "array" ] }, "ming_gong": { "$ref": "#/$defs/Enum_0a9661daa68f09b8", "description": "命宫。" }, "si_hua": { "description": "四化事实:星、化、落宫。", "items": { "$ref": "#/$defs/Object_8580070d84779969" }, "type": [ "null", "array" ] }, "yue_jie": { "additionalProperties": false, "description": "流月农历月界与月令。", "properties": { "boundary_day": { "description": "输入日期是否为农历月初一边界日(归入新月)。", "type": "boolean" }, "calendar_period": { "additionalProperties": false, "description": "流月所在日历区间。", "properties": { "day_end": { "description": "流月日段结束农历日序。", "type": "integer" }, "day_start": { "description": "流月日段起始农历日序。", "type": "integer" }, "half": { "description": "农历半月;whole 为整月,闰月按 first / second 拆分。", "enum": [ "first", "second", "whole" ], "type": "string" }, "leap": { "description": "是否闰月。", "type": "boolean" }, "month": { "description": "月。", "type": "integer" }, "year": { "description": "年。", "type": "integer" } }, "required": [ "year", "month", "leap", "half", "day_start", "day_end" ], "type": "object" }, "flow_month": { "additionalProperties": false, "description": "流月农历年月。", "properties": { "leap": { "description": "是否闰月。", "type": "boolean" }, "month": { "description": "月。", "type": "integer" }, "year": { "description": "年。", "type": "integer" } }, "required": [ "year", "month", "leap" ], "type": "object" }, "lunar": { "$ref": "#/$defs/Object_c158ae049dbb2950", "description": "该日期对应的农历日期。" }, "lunar_month_end": { "description": "下一农历月初一公历日(不含)。", "format": "date", "type": "string" }, "lunar_month_start": { "description": "农历月初一公历日(含)。", "format": "date", "type": "string" }, "standard_time": { "description": "流月选择器时区标准时间(无 DST)。", "format": "date-time", "type": "string" }, "start_date": { "description": "按选定农历基准取的流月选择日期。", "format": "date", "type": "string" } }, "required": [ "standard_time", "start_date", "lunar", "lunar_month_start", "lunar_month_end", "boundary_day", "calendar_period", "flow_month" ], "type": "object" }, "zhi": { "$ref": "#/$defs/Enum_c8bf5d32ca0ac601", "description": "流月地支" } }, "required": [ "yue_jie", "ming_gong", "zhi", "si_hua", "gong_wei" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" } }, "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:47ff1a907bb56301faca975fe204caee1db184c992a88a0cdb66737946f6ad27 | sha256sum