layoffs_by_state
Retrieves WARN layoff notices filed in a given US state, optionally filtered by year, and returns the notice count, total workers affected, and a paged list ordered newest first.
Instructions
Every WARN notice in one state (2-letter code), optionally narrowed to one notice year. Returns the matching count, the workers-affected total for the same filter, and a page of notices ordered by notice date, newest first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state": "<state>"
},
"name": "layoffs_by_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| limit | No | ||
| state | Yes | ||
| offset | No |