Fetch job events from stream (JobStream v2)
af_stream_jobsFetch real-time new, updated, and removed Swedish job listing events to keep a local database synchronized with the labour market. Use date and taxonomy filters to limit results.
Instructions
Fetch real-time events (new, updated, and removed job listings) from the JobStream v2 API.
Ideal for keeping a local database in sync with the Swedish labour market. Events contain full listing data for new/updated ads, and ID-only for removed ads.
Args:
date (string): Fetch all events since this datetime (ISO 8601: "YYYY-MM-DDTHH:MM:SS"). Example: "2024-06-01T00:00:00". Note: large time ranges can return large volumes.
date_before (string, optional): Only fetch events before this datetime (ISO 8601). Defaults to now.
occupation_concept_id (string[], optional): Filter by occupation concept IDs from the taxonomy.
location_concept_id (string[], optional): Filter by location concept IDs from the taxonomy.
Returns: List of events since the given date. Removed listings are marked with removed=true.
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": {
"date": "<date>"
},
"name": "af_stream_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Start datetime (ISO 8601 e.g. '2024-06-01T00:00:00'). Fetches events since this point. | |
| date_before | No | End datetime (ISO 8601). Defaults to now. | |
| location_concept_id | No | Filter by location concept IDs from af_search_taxonomy | |
| occupation_concept_id | No | Filter by occupation concept IDs from af_search_taxonomy |