Get state rules
get_state_rulesLook up one US state's rules for youth programs, summarized by BackPR from official state sources and published copies of state law: childcare licensing, staff-to-child ratios, summer camp licensing, background checks, mandated reporting of child abuse and giving medication. Use it when someone asks what a state requires of a childcare center, camp or after-school program. Returns the section(s) asked for, the date BackPR checked them, the backpr.com section URL, source links and any facts BackPR couldn't confirm. General information, not legal advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | US state name or 2-letter code, case-insensitive, such as "Texas" or "TX". "DC" and "District of Columbia" also work. | |
| topic | No | Which rules to return: "licensing" (who must be licensed, exemptions), "ratios" (staff-to-child ratios and group sizes), "camps" (camp licensing), "background_checks", "mandated_reporting" (who must report child abuse, hotline), "medication" or "all" (default). | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| state | Yes | ||
| topic | Yes | ||
| checked | Yes | When BackPR last checked these rules against their sources | |
| cite_as | Yes | ||
| sections | Yes | Only the sections asked for | |
| source_url | Yes | The backpr.com page or section for this answer | |
| state_code | Yes | ||
| unverified | Yes | Points BackPR couldn't fully confirm for this state that may bear on the topic asked about | |
| official_sources | Yes |