| triggers | ["shelter","homeless","food pantry","I'm hungry","need a doctor","no insurance","SNAP","Medicaid","eviction","lost my job","benefits","domestic violence","DV shelter","apply for benefits","need help in NYC","nowhere to sleep","no money for food"] |
| tools | [{"name":"find_resources","description":"Find NYC resources (shelters, food banks, hospitals, schools, benefits centers) near a location. ALWAYS call this first when the user mentions needing shelter, food, medical care, or any resource.","inputs":{"query":"string - user's situation","location":"object - {lat, lon} optional","case_id":"string - optional"}},{"name":"calculate_eligibility","description":"Calculate which benefits a household qualifies for (SNAP, Medicaid, WIC, Cash Assistance, Fair Fares). ALWAYS call this when user mentions income, household size, or applying for benefits.","inputs":{"household_size":"int","annual_income":"number","has_children":"bool","has_pregnant":"bool","housing_status":"string"}},{"name":"get_rights","description":"Returns legal rights at a resource type (e.g. right to shelter, no ID required, EMTALA for hospitals). ALWAYS call this when user mentions 'no ID', 'undocumented', 'no insurance', or asks 'is X a problem'.","inputs":{"resource_type":"string - shelter, food_bank, hospital, school, benefits_center, domestic_violence"}},{"name":"get_directions","description":"Get walking/transit directions. Budget=0 means user has no money — includes location of nearest HRA for free MetroCard.","inputs":{"from_lat":"number","from_lon":"number","to_lat":"number","to_lon":"number","budget":"number"}},{"name":"get_stories","description":"Get 2-3 anonymized success stories of people in similar situations. Use after finding resources to build trust.","inputs":{"need":"string - housing, medical, benefits, safety"}}] |