Custody Law by Coparley
v1.0.0US child custody law for all 50 states, from checked pages that cite each statute.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_custody_topics List custody states and topics
Lists the 50 states with the languages their pages are in, and the 16 custody topics each state has. Call this first to pick a state and topic.
get_custody_page Get a custody page
Returns one state's checked custody page on one topic as Markdown: the answer, what the law says with a source link for each statement, the date it was last checked, the notice, and the page's address.
| Parameter | Type | Description |
|---|---|---|
state * | string | Two-letter US state code, for example "ca" or "TX". |
topic * | string | A topic slug from list_custody_topics, for example "moving-away". |
lang | string | Page language: "en" (default) or "es" (Spanish, for some states and topics). |
compare_states Compare states on a custody topic
Returns the same custody topic for 2 to 6 states, one page after another, each with its own sources, date and address. Each page is up to about 20 KB, so ask for only the states needed.
| Parameter | Type | Description |
|---|---|---|
states * | array | 2 to 6 two-letter state codes. |
topic * | string | A topic slug from list_custody_topics, for example "moving-away". |
lang | string | Page language: "en" (default) or "es" (Spanish, for some states and topics). |