{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"five-elements"},"result":{"entity_type":"calculator","id":"five-elements","calculator_id":"five-elements","canonical_url":"https://tttkmbb.com/yijing/five-elements","name":"Five Elements Relation (五行生克)","title":"Five Elements Calculator – Generating and Controlling Relations (五行生克) with Correspondence Profiles","category":"yijing","category_name":"I Ching & Five Elements","tool_name":"analyze_five_element_relation","featured_mcp_tool":false,"description":"Determines the Wuxing (五行) relation between two elements — generating (相生, xiangsheng), controlling (相克, xiangke) or same — and returns the full generating and controlling cycles plus the traditional correspondence profile of each element (direction, season, colour, planet, organs, taste, emotion, climate, Hetu numbers, stems, branches, trigrams).","use_when":"You need to know how two of Wood, Fire, Earth, Metal and Water relate in the five-element cycles, or the classical correspondences of an element, e.g. when interpreting stems, branches, trigrams or a Bazi chart.","do_not_use_when":"You need relations between specific stems and branches such as 六合 or 三合 (use stem-branch-relations) or trigram attributes (use bagua).","inputs":[{"name":"element_a","label":"Element A","type":"enum","required":true,"values":[{"value":"wood","label":"Wood (木)","aliases":["木","mu","tree"]},{"value":"fire","label":"Fire (火)","aliases":["火","huo"]},{"value":"earth","label":"Earth (土)","aliases":["土","tu","soil"]},{"value":"metal","label":"Metal (金)","aliases":["金","jin","gold"]},{"value":"water","label":"Water (水)","aliases":["水","shui"]}],"description":"Element A of the pair (wood/fire/earth/metal/water; Chinese 木火土金水 accepted).","example":"wood"},{"name":"element_b","label":"Element B","type":"enum","required":true,"values":[{"value":"wood","label":"Wood (木)","aliases":["木","mu","tree"]},{"value":"fire","label":"Fire (火)","aliases":["火","huo"]},{"value":"earth","label":"Earth (土)","aliases":["土","tu","soil"]},{"value":"metal","label":"Metal (金)","aliases":["金","jin","gold"]},{"value":"water","label":"Water (水)","aliases":["水","shui"]}],"description":"Element B of the pair (wood/fire/earth/metal/water; Chinese 木火土金水 accepted).","example":"fire"}],"outputs":[{"name":"relation","label":"Relation","type":"string","decimals":4,"description":"Relation of element A to element B in words, with the Chinese formula."},{"name":"relation_type","label":"Relation type","type":"string","decimals":4,"description":"generates, is_generated_by, controls, is_controlled_by or same (from A's point of view)."},{"name":"relation_cn","label":"Relation (中文)","type":"string","decimals":4,"description":"Chinese formula, e.g. 木生火, 水克火 or 比和."},{"name":"generating_cycle","label":"Generating cycle (相生)","type":"string","decimals":4,"description":"The full 相生 sequence."},{"name":"controlling_cycle","label":"Controlling cycle (相克)","type":"string","decimals":4,"description":"The full 相克 sequence."},{"name":"what_a_generates","label":"A generates (A生)","type":"string","decimals":4,"description":"Element produced by A (its child)."},{"name":"what_generates_a","label":"Generates A (生A)","type":"string","decimals":4,"description":"Element that produces A (its parent)."},{"name":"what_a_controls","label":"A controls (A克)","type":"string","decimals":4,"description":"Element restrained by A."},{"name":"what_controls_a","label":"Controls A (克A)","type":"string","decimals":4,"description":"Element that restrains A."},{"name":"element_a_profile","label":"Profile of A","type":"object","decimals":4,"description":"Direction, season, colour, planet, yin organ (脏), yang organ (腑), taste, emotion, climate, Hetu numbers, heavenly stems, earthly branches, trigrams and sense organ."},{"name":"element_b_profile","label":"Profile of B","type":"object","decimals":4,"description":"The same correspondences for element B."}],"input_schema":{"type":"object","properties":{"element_a":{"description":"Element A of the pair (wood/fire/earth/metal/water; Chinese 木火土金水 accepted).","type":"string","enum":["wood","fire","earth","metal","water"],"examples":["wood"]},"element_b":{"description":"Element B of the pair (wood/fire/earth/metal/water; Chinese 木火土金水 accepted).","type":"string","enum":["wood","fire","earth","metal","water"],"examples":["fire"]}},"additionalProperties":false,"required":["element_a","element_b"]},"output_schema":{"type":"object","properties":{"relation":{"description":"Relation of element A to element B in words, with the Chinese formula.","type":"string"},"relation_type":{"description":"generates, is_generated_by, controls, is_controlled_by or same (from A's point of view).","type":"string"},"relation_cn":{"description":"Chinese formula, e.g. 木生火, 水克火 or 比和.","type":"string"},"generating_cycle":{"description":"The full 相生 sequence.","type":"string"},"controlling_cycle":{"description":"The full 相克 sequence.","type":"string"},"what_a_generates":{"description":"Element produced by A (its child).","type":"string"},"what_generates_a":{"description":"Element that produces A (its parent).","type":"string"},"what_a_controls":{"description":"Element restrained by A.","type":"string"},"what_controls_a":{"description":"Element that restrains A.","type":"string"},"element_a_profile":{"description":"Direction, season, colour, planet, yin organ (脏), yang organ (腑), taste, emotion, climate, Hetu numbers, heavenly stems, earthly branches, trigrams and sense organ.","type":"object"},"element_b_profile":{"description":"The same correspondences for element B.","type":"object"}}},"formula":"generating (相生): 木→火→土→金→水→木; controlling (相克): 木克土, 土克水, 水克火, 火克金, 金克木; A generates B if B follows A in the generating cycle, A controls B if B is two steps after A","method":"Correspondences are the standard Han-dynasty tables (五行学说) as summarised in the Wuxing reference; Hetu numbers 水1/6 火2/7 木3/8 金4/9 土5/10. Traditional cultural reference calculation; not a prediction and not medical, legal or financial advice.","sources":[{"name":"Wikipedia – Wuxing (Chinese philosophy)","url":"https://en.wikipedia.org/wiki/Wuxing_(Chinese_philosophy)","type":"reference","retrieved_at":"2026-09-24"},{"name":"Wikipedia – Bagua","url":"https://en.wikipedia.org/wiki/Bagua","type":"reference","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"Wood and Fire","inputs":{"element_a":"wood","element_b":"fire"},"expected":{"relation":"Wood generates Fire (木生火)","relation_type":"generates","relation_cn":"木生火","what_a_generates":"Fire (火)","what_a_controls":"Earth (土)","what_controls_a":"Metal (金)","what_generates_a":"Water (水)"},"url":"https://tttkmbb.com/api/v1/calculate/five-elements?element_a=wood&element_b=fire"},{"name":"Water and Fire","inputs":{"element_a":"water","element_b":"fire"},"expected":{"relation":"Water controls Fire (水克火)","relation_type":"controls","relation_cn":"水克火","what_a_generates":"Wood (木)","what_generates_a":"Metal (金)"},"url":"https://tttkmbb.com/api/v1/calculate/five-elements?element_a=water&element_b=fire"}],"faq":[{"q":"Is the relation symmetric?","a":"No. It is stated from A's point of view: Wood generates Fire, so with A = Fire and B = Wood the type is is_generated_by; likewise controls versus is_controlled_by."},{"q":"Which organ tables are used?","a":"The classical 脏腑 pairing: Wood liver/gallbladder, Fire heart/small intestine, Earth spleen/stomach, Metal lung/large intestine, Water kidney/bladder. These are cultural correspondences, not medical statements."}],"tags":["five elements","wuxing","五行","generating cycle","controlling cycle","xiangsheng xiangke"],"related":[{"calculator_id":"stem-branch-relations","reason":"Combinations and clashes between specific stems and branches."},{"calculator_id":"bagua","reason":"Element of each trigram."},{"calculator_id":"bazi-four-pillars","reason":"Five-element balance of a birth chart."}],"links":{"html":"https://tttkmbb.com/yijing/five-elements","markdown":"https://tttkmbb.com/yijing/five-elements.md","json":"https://tttkmbb.com/yijing/five-elements.json","api":"https://tttkmbb.com/api/v1/calculate/five-elements","schema":"https://tttkmbb.com/api/v1/calculators/five-elements","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T08:30:37Z","next_actions":[{"tool":"run_calculator","calculator_id":"five-elements","reason":"Run Five Elements Relation (五行生克) with the inputs above."}],"links":{"markdown":"https://tttkmbb.com/yijing/five-elements.md"}}