Render a genogram as SVG
render_genogramDraw 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 offer the edit link. Deterministic: the same JSON always gives the same drawing.
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": {
"genogram": "<genogram>"
},
"name": "render_genogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legend | No | Draw the key (default true). | |
| genogram | Yes | The Genogram JSON document. | |
| include_svg | No | Include the SVG markup (default true). Set false to get only the URLs. |