Search events
search_eventsSearch things to do in Sweden on Agendan: concerts, theatre, markets, exhibitions, activities for children and more. Only upcoming and ongoing events are returned.
Use it for questions like "what's on this weekend near Malmö for a family with kids": place "Malmö", when "weekend", audience ["kids-family"].
Give the time with when ("today", "tonight", "tomorrow", "weekend", "week" or "next-week"): Agendan computes the window in Swedish time, the same as agendan.se, so you do not need to. Use from and to only for other dates.
Each result has a webUrl. Always show webUrl (the page on agendan.se) with each item and say "via Agendan". Use get_event for the full description, all occurrences and the sources.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text, matched against title, venue, tags and description. Swedish words work best (e.g. "jazz", "julmarknad", "loppis"). | |
| to | No | End of the time window. A day includes the whole day, a date and time is exclusive. | |
| lat | No | Latitude (WGS 84) to search around. Requires lng. Rounded to about 1 km. | |
| lng | No | Longitude (WGS 84). Requires lat. | |
| free | No | true: only free events. | |
| from | No | Start of the time window, for dates that when does not cover: a day (YYYY-MM-DD) or a date and time (YYYY-MM-DDTHH:MM, Swedish time when no zone is given). | |
| page | No | Page number, from 1. | |
| sort | No | "time" (default), "distance" (needs a position) or "relevance" (needs q). | |
| type | No | "event": with occurrences. "ongoing": on during a period, such as an exhibition. | |
| when | No | The time window, as on agendan.se, in Swedish time. "today": now to midnight. "tonight": events starting 17:00–04:00 with a known time (before 04:00, the evening before). "tomorrow": the whole day. "weekend": Friday 17:00 to Monday 00:00 ("this weekend"). "week": now to Monday 00:00 ("this week"). "next-week": Monday to Monday. Not with from, to or startsWithin. | |
| place | No | A Swedish place by name, such as "Malmö", "Södermalm" or "Österlen". It is looked up like search_areas, and its position and radius are used. Do not combine with lat and lng. The result names the area that was used (place). | |
| venue | No | Only events at this venue (id from search_venues). | |
| radius | No | Radius in km around the position (place or lat/lng). With place, the area's own radius is used when this is left out. | |
| perPage | No | Results per page, at most 20 (the default). | |
| audience | No | Only events for any of these audiences. "kids-family" for children and families. Events for everyone always match. | |
| category | No | Only these categories. Any of them matches. | |
| autoRadius | No | Choose the radius from what is on around the position, like agendan.se. On by default with place. | |
| startsWithin | No | Only events whose next occurrence starts inside the from–to window, with a known time. Requires to. when "tonight" already does this. |