propline_list_sports
Discover which sports PropLine polls. Returns sport keys, titles, and active status for use with other tools.
Instructions
List all sports PropLine currently polls. Returns sport keys (e.g. baseball_mlb, basketball_nba, soccer_epl) along with human titles and active status. Use this first to discover what sport_key values are valid for the other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:80-80 (handler)The handler function for propline_list_sports, which calls client().listSports() to fetch the list of sports from the PropLine API.
handler: () => client().listSports(), - src/index.ts:75-79 (schema)Input schema for propline_list_sports — an empty object with no required fields and additionalProperties set to false.
inputSchema: { type: "object", properties: {}, additionalProperties: false, }, - src/index.ts:68-81 (registration)Tool definition entry for propline_list_sports within the tools array, including name, description, inputSchema, and handler.
{ name: "propline_list_sports", description: "List all sports PropLine currently polls. Returns sport keys " + "(e.g. baseball_mlb, basketball_nba, soccer_epl) along with human " + "titles and active status. Use this first to discover what " + "sport_key values are valid for the other tools.", inputSchema: { type: "object", properties: {}, additionalProperties: false, }, handler: () => client().listSports(), }, - src/client.ts:77-79 (handler)The listSports() method on PropLineClient that makes a GET request to /v1/sports.
listSports(): Promise<unknown> { return this.request("/v1/sports"); }