botindex_sports_odds
Get live sports odds for NFL, NBA, UFC, and NHL with moneyline, spread, and totals comparisons across bookmakers. Provides verified data to support betting decisions.
Instructions
Live sports odds snapshot (NFL, NBA, UFC, NHL). Moneyline, spread, totals with bookmaker comparisons. $0.02
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Filter by sport: nfl, nba, ufc, nhl |
Implementation Reference
- src/index.ts:213-229 (handler)The tool 'botindex_sports_odds' (and others) is dynamically registered based on a fetched catalog. The handler uses fetchBotindex to perform the API request.
server.tool( tool.name, tool.description, zodSchema, async (args: Record<string, any>) => { const params: Record<string, string> = {}; if (tool.params) { for (const p of tool.params) { if (args[p.name] !== undefined) { params[p.name] = String(args[p.name]); } } } const data = await fetchBotindex(tool.path, params); return { content: [{ type: 'text', text: toToolText(data) }] }; }, );