Workflows
Three calls. Then stop.
There is no workflow to configure: agents compose the tools themselves. Resolve the employer first, fetch only what the question needs, then stop. Percentiles only come from wage_summary, and only when there are at least 5 certified wages.
- 01Is this the same employer?
identify_employerwith the name and state. If it abstains, the agent picks from the candidates instead of guessing. - 02What did they certify?
search_casesby employer_id: titles, wages and worksites, certified cases only. - 03What is this case?
get_caseby case number: one case, its as_of date and the resolved employer.
Some questions take one call: sponsorship_check answers “does this company sponsor, for this role, here?”, compare_offer places a salary among certified wages, and sponsor_trends shows change over fiscal years.
identify_employer(query="google", state="CA") # → emp_us_google_llc · 0.96 · alias+state search_cases(employer_id="emp_us_google_llc", job_title="Software Engineer") # → certified cases: title, wage, worksite get_case(case_number="I-200-25267-331421") # → one case, as_of, resolved employer