gamma_get_event_by_slug
Fetch the full event-level context and all nested markets for a known Polymarket event slug.
Instructions
Fetch one canonical event by its slug.
Use this tool when you already know the event slug and want the full event-level context, including any nested markets returned by Gamma.
Prefer this tool when the question is about an event grouping rather than a
single market. If you only know the topic in natural language, use
search_public or list_events first.
The slug should be the event slug string from the Polymarket URL path, not the full URL. This tool is especially helpful for finding all related markets under one event before selecting a specific market for deeper analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Canonical event slug from a Polymarket event URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Normalized Polymarket event model. Args: id: Optional upstream event identifier. slug: Canonical event slug from Polymarket URLs. title: Human-readable event title. active: Whether the event is currently active. closed: Whether the event is closed. markets: Nested normalized markets associated with the event. Returns: Event: Normalized event model. Raises: ValueError: If validation fails. Examples: >>> event = Event(slug="fed-event", title="Fed Event") >>> event.title 'Fed Event' |