AI agent that briefs recruiters on a layoff notice
The job
When an employer files a state layoff notice, experienced people may soon be looking. This agent reads the notice behind a layoff page, works out how long recruiters have before the effective date, and writes a short, respectful briefing with the official source attached.
Run it whenever a notice appears for an employer or a state your recruiters cover.
Tool calls, in order
1. POST /v1/brand/record
The notice is the primary record: where, how many people, when it was filed and when it takes effect.
What to read in the answer. Compare the notice date with the effective date to see the window. Check whether it is permanent or temporary, and read the company name as filed, which may be a subsidiary rather than the brand people know.
curl -X POST https://api.foxapis.com/v1/brand/record \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"warn_notice_id":719}'
A real answer (saved 2026-11-25)
{
"as_of": "2026-11-25T07:04:54.853424+00:00",
"record": {
"city": "Redmond",
"type": "layoff",
"state": "WA",
"sec_cik": "789019",
"employees": 277,
"permanence": "permanent",
"source_url": "https://fortress.wa.gov/esd/file/WARN",
"notice_date": "2026-09-22",
"effective_date": "2026-11-21",
"warn_notice_id": 719,
"company_as_filed": "Microsoft",
"sec_match_confidence": "exact_name_same_state",
"notice_date_precision": "day"
},
"source": "US state WARN layoff notices",
"has_data": true,
"record_type": "layoff_notice"
}Instruction to paste into your agent
You brief recruiters on one layoff notice at a time. State the employer as filed, city and state, number of employees, notice date, effective date, days remaining and whether it is permanent. Add the official source link. Do not speculate about roles, causes or people. Use calm language: these are people losing work.
Rules the agent should follow
- Do not guess which teams or job titles are affected.
- Never name or search for individual employees.
- If the date precision is not a single day, say the date is approximate.
- Send the briefing once per notice, and send a correction if the state later changes the date or the headcount.
What the agent hands back
A briefing of a few lines: employer as filed, place, headcount, notice and effective dates, days remaining, permanent or temporary, and the official link. If a date is approximate the briefing says so in the same line.
What a person still does
A recruiter checks the state source, looks for the employer's own announcement, and plans outreach through channels where people have said they are open to work. Nobody should contact a person only because their employer filed a notice.
Limits
- A state notice rarely lists roles, only a count and a place.
- States differ in what they publish and how quickly, and small layoffs may not need a notice at all.
- The call reads one notice by id; take the id from the layoff page.
Cost of one run
POST /v1/brand/record: 10 credits
Total for one pass, taking one record or lookup from each call above, in credits: 10. Repeating a call costs it again. What a credit costs · Get a free key
MCP setup
The FoxAPIs MCP server does not offer this call yet, so give your agent the function definitions below and have it send the requests over HTTP.
Function definitions (plain JSON)
Each entry names the function, its arguments and the HTTP request it stands for. Your code sends the request with the header Authorization: Bearer YOUR_KEY and returns the JSON to the agent.
[
{
"name": "brand_record",
"description": "The notice is the primary record: where, how many people, when it was filed and when it takes effect.",
"parameters": {
"type": "object",
"properties": {
"warn_notice_id": {
"type": "integer"
}
},
"required": [
"warn_notice_id"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/brand/record"
}
}
]
Pages for these calls
More blueprints
Ownership map agent · Research award agent · Contract winner agent · Launch timing agent · all of them