Skip to main content
Glama

Liki — Professional AI Astrologer

natal_liunian_query

Read-onlyIdempotent

schema 合法出生主体 + start_year/year_count/life_topics → 八字与紫微逐年流年合参断语。subject 必须来自用户确认事实或 subject_candidates;时间模糊先归一化确认。服务端内部计算因子;失败年保留结构化 error,不中断整批。只要单个原始流盘用 bazi_liupan / ziwei_liupan;本命断语用 natal_query。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "subject": "<subject>",
      "start_year": "<start_year>",
      "year_count": "<year_count>",
      "life_topics": "<life_topics>"
    },
    "name": "natal_liunian_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYes已考时归一化的出生主体。
start_yearYes起始流年年号。
year_countYes连续查询年数。
life_topicsYes人生问题域(同 natal_query)。

Output Schema

NameRequiredDescriptionDefault
yearsYes逐年流年结果。
natal_chart_digestYes流年计算使用的完整本命盘摘要。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / 0204d0058ea4
      Added value: +{
      +  "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": {
      +            "condition_not_matched": {
      +              "description": "因子前提未成立而未命中的候选断语数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "deduplicated": {
      +              "description": "跨规则重复命中的去重次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topic_not_selected": {
      +              "description": "因所属领域未被选中而过滤的次数。",
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "topic_not_selected",
      +            "deduplicated",
      +            "condition_not_matched"
      +          ],
      +          "type": "object"
      +        },
      +        "matched": {
      +          "description": "来源断语命中次数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "returned": {
      +          "description": "过滤后返回的断语数。",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "matched",
      +        "returned",
      +        "filtered",
      +        "filtered_by"
      +      ],
      +      "type": "object"
      +    },
      +    "gated_assertion_ids": {
      +      "description": "因子前提未成立而未返回的稳定断语 ID。",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "assertions",
      +    "counts"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / $defs / 0fd6548aabf4
      Removed value: -{
      -  "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"
      -}
    • changedOutput schema / properties / years / items / anyOf
      Previous value: -[
      -  {
      -    "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"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bazi": {
      +        "$ref": "#/$defs/0204d0058ea4",
      +        "description": "八字流年断语。"
      +      },
      +      "year": {
      +        "description": "流年年号。",
      +        "type": "integer"
      +      },
      +      "ziwei": {
      +        "$ref": "#/$defs/0204d0058ea4",
      +        "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"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / 0fd6548aabf4
      Added value: +{
      +  "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"
      +}
    • changedOutput schema / properties / years / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bazi": {
      -        "additionalProperties": false,
      -        "description": "八字流年断语。",
      -        "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"
      -      },
      -      "year": {
      -        "description": "流年年号。",
      -        "type": "integer"
      -      },
      -      "ziwei": {
      -        "additionalProperties": false,
      -        "description": "紫微流年断语。",
      -        "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"
      -      }
      -    },
      -    "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"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / years / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bazi": {
      -        "additionalProperties": false,
      -        "description": "八字流年断语。",
      -        "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": {
      -              "matched": {
      -                "description": "来源断语命中次数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "returned": {
      -                "description": "过滤后返回的断语数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "matched",
      -              "returned"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "assertions",
      -          "counts"
      -        ],
      -        "type": "object"
      -      },
      -      "year": {
      -        "description": "流年年号。",
      -        "type": "integer"
      -      },
      -      "ziwei": {
      -        "additionalProperties": false,
      -        "description": "紫微流年断语。",
      -        "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": {
      -              "matched": {
      -                "description": "来源断语命中次数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "returned": {
      -                "description": "过滤后返回的断语数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "matched",
      -              "returned"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "assertions",
      -          "counts"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "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"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bazi": {
      +        "additionalProperties": false,
      +        "description": "八字流年断语。",
      +        "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"
      +      },
      +      "year": {
      +        "description": "流年年号。",
      +        "type": "integer"
      +      },
      +      "ziwei": {
      +        "additionalProperties": false,
      +        "description": "紫微流年断语。",
      +        "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"
      +      }
      +    },
      +    "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"
      +  }
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "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"
      +  }
      +}
    • changedOutput schema / properties / years / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bazi": {
      -        "additionalProperties": false,
      -        "description": "八字流年断语。",
      -        "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": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "因子实际值。"
      -                      },
      -                      "condition_group": {
      -                        "anyOf": [
      -                          {
      -                            "type": "integer"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "条件组编号。"
      -                      },
      -                      "expected": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "因子期望值。"
      -                      },
      -                      "factor": {
      -                        "description": "命中的因子名。",
      -                        "type": "string"
      -                      },
      -                      "gender_scope": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "男",
      -                              "女"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "性别专属因子的作用范围。"
      -                      }
      -                    },
      -                    "required": [
      -                      "factor"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "life_topics": {
      -                  "description": "命中的受控人生问题域。",
      -                  "items": {
      -                    "enum": [
      -                      "marriage",
      -                      "family",
      -                      "children",
      -                      "career",
      -                      "wealth",
      -                      "health",
      -                      "mental",
      -                      "study",
      -                      "personality",
      -                      "appearance",
      -                      "origin",
      -                      "relocation",
      -                      "social",
      -                      "property",
      -                      "adversity",
      -                      "chart_structure"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "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": {
      -              "matched": {
      -                "description": "来源断语命中次数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "returned": {
      -                "description": "过滤后返回的断语数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "matched",
      -              "returned"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "assertions",
      -          "counts"
      -        ],
      -        "type": "object"
      -      },
      -      "year": {
      -        "description": "流年年号。",
      -        "type": "integer"
      -      },
      -      "ziwei": {
      -        "additionalProperties": false,
      -        "description": "紫微流年断语。",
      -        "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": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "因子实际值。"
      -                      },
      -                      "condition_group": {
      -                        "anyOf": [
      -                          {
      -                            "type": "integer"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "条件组编号。"
      -                      },
      -                      "expected": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "因子期望值。"
      -                      },
      -                      "factor": {
      -                        "description": "命中的因子名。",
      -                        "type": "string"
      -                      },
      -                      "gender_scope": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "男",
      -                              "女"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "性别专属因子的作用范围。"
      -                      }
      -                    },
      -                    "required": [
      -                      "factor"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "life_topics": {
      -                  "description": "命中的受控人生问题域。",
      -                  "items": {
      -                    "enum": [
      -                      "marriage",
      -                      "family",
      -                      "children",
      -                      "career",
      -                      "wealth",
      -                      "health",
      -                      "mental",
      -                      "study",
      -                      "personality",
      -                      "appearance",
      -                      "origin",
      -                      "relocation",
      -                      "social",
      -                      "property",
      -                      "adversity",
      -                      "chart_structure"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "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": {
      -              "matched": {
      -                "description": "来源断语命中次数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "returned": {
      -                "description": "过滤后返回的断语数。",
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "matched",
      -              "returned"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "assertions",
      -          "counts"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "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"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bazi": {
      +        "additionalProperties": false,
      +        "description": "八字流年断语。",
      +        "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": {
      +              "matched": {
      +                "description": "来源断语命中次数。",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "returned": {
      +                "description": "过滤后返回的断语数。",
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "matched",
      +              "returned"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "assertions",
      +          "counts"
      +        ],
      +        "type": "object"
      +      },
      +      "year": {
      +        "description": "流年年号。",
      +        "type": "integer"
      +      },
      +      "ziwei": {
      +        "additionalProperties": false,
      +        "description": "紫微流年断语。",
      +        "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": {
      +              "matched": {
      +                "description": "来源断语命中次数。",
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "returned": {
      +                "description": "过滤后返回的断语数。",
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "matched",
      +              "returned"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "assertions",
      +          "counts"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "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"
      +  }
      +]
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and idempotentHint, and the description stays consistent with them while adding real behavioral detail: computation factors are handled server-side, and a failing year returns a structured error without aborting the whole batch. That batch-failure semantics is exactly the kind of context annotations cannot express. It does not discuss cost, latency, or limits across the up-to-50-year range.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loads the input-to-output formula, then deductions in priority order (data provenance, time normalization, failure behavior, sibling routing). The arrow-style formula is efficient but reads as internal shorthand rather than prose, which slightly reduces immediate clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained; the description instead covers what an agent actually needs — subject provenance rules, time normalization, server-side computation, and per-year error tolerance. The remaining gap is scope expectations for year_count (cost/time for up to 50 years) and any interpretation caveats on the readings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already defines subject fields, start_year, year_count, and life_topics in detail; the baseline is 3. The description reinforces the provenance constraint on subject (user facts or candidates, no fabrication) and the need to normalize ambiguous times, which adds a little guidance the schema states only tersely, but it adds no meaning for start_year or year_count.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific operation: combining 八字 (BaZi) and 紫微 (ZiWei) into per-year 流年 readings for a validated birth subject over a year range. It also explicitly distinguishes itself from bazi_liupan/ziwei_liupan (raw charts) and natal_query (natal reading), so an agent can separate it from siblings. The only deduction is the dense jargon that makes the core verb ('合参断语', combined interpretation) less immediately legible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes: use bazi_liupan / ziwei_liupan for a single raw chart, natal_query for the natal reading, and this tool for the combined annual reading. It also states the precondition that subject must come from user-confirmed facts or subject_candidates, and that fuzzy times must be normalized and confirmed first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources