get_polymarket_events
Retrieve active Polymarket prediction market events with current odds. Filter by category and limit results to analyze market opportunities.
Instructions
Get active Polymarket prediction market events.
Args: category: Optional category filter (politics, crypto, sports, etc.) limit: Number of events to return
Returns: List of active prediction markets with current odds.
Price: $0.25
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | ||
| limit | No |
Implementation Reference
- coinrailz_mcp/__init__.py:805-823 (handler)The implementation of the get_polymarket_events tool, which calls the 'polymarket-events' service via the call_coinrailz_service helper.
@mcp.tool() async def get_polymarket_events(category: str = None, limit: int = 20) -> str: """ Get active Polymarket prediction market events. Args: category: Optional category filter (politics, crypto, sports, etc.) limit: Number of events to return Returns: List of active prediction markets with current odds. Price: $0.25 """ payload = {"limit": limit} if category: payload["category"] = category result = await call_coinrailz_service("polymarket-events", payload) return json.dumps(result, indent=2)