Custody Law by Coparley

v1.0.0
io.github.coparley/custody-law Checked 2 days ago Published 2 days ago

US 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.

ParameterTypeDescription
state *stringTwo-letter US state code, for example "ca" or "TX".
topic *stringA topic slug from list_custody_topics, for example "moving-away".
langstringPage 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.

ParameterTypeDescription
states *array2 to 6 two-letter state codes.
topic *stringA topic slug from list_custody_topics, for example "moving-away".
langstringPage language: "en" (default) or "es" (Spanish, for some states and topics).