Genogram Symbols (GenogramAI)

v1.1.0
com.genogramai/genogram-symbols Checked 2 days ago Published 2 days ago

Open Genogram Notation for AI: 177 symbols, Genogram JSON validation and SVG genogram rendering.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_genogram_symbols List genogram symbols

List the genogram symbols the GenogramAI editor draws, optionally for one category, with what each means and how it is drawn. Totals: 64 relationship types (18 partner, 39 emotional, 7 child connections), 9 person symbols, 6 life statuses, 22 medical categories, 9 heritage patterns. Categories: person (Person (gender) symbols, 9); person-marker (Person markers (index person, sexual orientation), 5); status (Life status, 6); partner (Partner relationships, 18); couple-status (Couple history marks, 5); child (Child connections, 7); twins (Twins, 2); family-link (Other family links, 6); immigrati…

ParameterTypeDescription
categorystringOnly this category, e.g. "emotional", "partner", "child", "person", "status", "medical-category".
groupstringOnly this sub-group within the category, e.g. "conflict" or "abuse" for emotional lines, "dissolution" for partner lines.
include_svgbooleanInclude each symbol's SVG drawing (larger response). Default false.
notationstring"standard" = standard genogram notation only; "extended" = symbols GenogramAI adds. Default all.

get_genogram_symbol Get one genogram symbol

Get one genogram symbol by id or name ("divorce", "cutoff", "emotional-fused", "adopted child", "EmotionalType.CLOSE"): its meaning, exactly how it is drawn (line style, colours, marks, arrow direction), when clinicians use it, related symbols, whether it is standard notation, a page URL on genogramai.com and an SVG drawing that matches the GenogramAI editor. If the name is not recognised, the closest matches are returned.

ParameterTypeDescription
symbol *stringSymbol id (from list or search) or a name / common phrase, e.g. "divorce", "cut off", "living together".
include_svgbooleanInclude the SVG drawing. Default true.

search_genogram_symbols Search genogram symbols

Find genogram symbols from a description of how they look or what they mean, in plain words: "dotted line between mother and son", "zigzag with an arrow", "three parallel lines", "two slashes", "bottom half shaded", "symbol for twins", "how to show a stepchild". Returns the best matches, ranked, with meaning, drawing and page URL.

ParameterTypeDescription
query *stringWhat the symbol looks like or means.
categorystringOptional: search only this category.
limitintegerMaximum results (default 8).

explain_genogram Plan the symbols for a family

Turn a description of a family, or a list of relationships, into the genogram symbols and lines to draw. Pass "description" (plain text such as "Maria and Juan divorced in 2010; their son Leo is adopted and is cut off from his father; Juan drinks heavily") and/or "relationships" (a list of {person_a, person_b, relationship}). Returns each symbol needed with why it matched, a drawing instruction per relationship, and the order to draw in. Keyword matching, not diagnosis: check the result against what the family said.

ParameterTypeDescription
descriptionstringFree-text description of the family (up to 8,000 characters).
relationshipsarrayRelationships to draw, e.g. [{"person_a": "Mother", "person_b": "Son", "relationship": "enmeshed"}]. For directional lines (abuse, focus, caretaking) person_a acts on person_b.

get_genogram_drawing_rules Genogram drawing rules

The layout and drawing conventions of standard genogram notation: generations in rows, birth order left to right (oldest left), male usually left of his partner, partner order, how couples, children, twins, emotional lines, medical shading, labels and dates are drawn, and what a key must contain. Optional topic: layout, people, couples, children, emotional, medical, labels, key.

ParameterTypeDescription
topicstringOne topic, or all (default).

validate_genogram Validate a Genogram JSON document

Check a whole genogram written as Genogram JSON 1.0 (schema: https://genogramai.com/schemas/genogram/v1.json) against the schema and the Open Genogram Notation conformance rules: unknown or misplaced symbol ids, references to missing people, a divorce on a couple that never married, a child whose two parents have no partnership, ancestry loops, impossible or implausible dates, twins without matching parents, colour-only distinctions without labels, and missing key items. Returns valid (no errors), each issue with its rule id (GN-xxx), severity, a plain-language fix and a JSON path. Call it bef…

ParameterTypeDescription
genogram *objectThe Genogram JSON document ({"format": "genogram-json", "version": "1.0", "people": [...], ...}).

render_genogram Render a genogram as SVG

Draw a whole family as a genogram in Open Genogram Notation: give a Genogram JSON 1.0 document (people, partnerships, children, relationships; schema https://genogramai.com/schemas/genogram/v1.json). Returns a standards-compliant SVG (generations in rows, couples side by side, children under a sibship line, emotional lines, medical shading, the index person marked and a key of only the symbols used), a hosted image URL for the same drawing, an "Edit this genogram in GenogramAI" link that opens it in the free editor, and any validation issues. Show the SVG or the image URL to the user, and offe…

ParameterTypeDescription
genogram *objectThe Genogram JSON document.
include_svgbooleanInclude the SVG markup (default true). Set false to get only the URLs.
legendbooleanDraw the key (default true).