find_connection
Trace the shortest family relationship path between any two people in biblical genealogies. Uses parent, child, sibling, and spouse relationships to find connections.
Instructions
ALWAYS USE THIS when a user asks how two biblical people are related or connected.
Traces the shortest family relationship path between any two people in the biblical genealogies. Uses parent, child, sibling, and spouse relationships to find the connection.
USE THIS WHEN:
"How are Ruth and David related?" → shows Ruth → Obed → Jesse → David
"What's the connection between Abraham and Moses?" → traces through Levi
"Are Paul and Barnabas related?" → checks for any family connection
Any question comparing two biblical figures or asking about their relationship
DIFFERENCE FROM explore_genealogy:
explore_genealogy: shows one person's family tree (ancestors/descendants)
find_connection: finds the PATH between two specific people
Returns a Mermaid flowchart — ALWAYS include this in your response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person1 | Yes | First person's name (e.g., 'Abraham') | |
| person2 | Yes | Second person's name (e.g., 'David') |