calculate_sgp
Compute Same Game Parlay probability by combining multiple selections from a single event. Requires league, event ID, and selection IDs from odds data.
Instructions
Calculate Same Game Parlay (SGP) probabilities for an event.
Combines multiple selections from the same event into a parlay. Use get_odds or get_all_markets first to get selection mapping IDs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"league": "<league>",
"event_id": "<event_id>",
"selections": "<selections>"
},
"name": "calculate_sgp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | Yes | League code. | |
| event_id | Yes | The event ID (e.g. 'f1:bc8a2ac2-0111-4b99-b402-08a19a731eda'). | |
| selections | Yes | List of ASD selection UUIDs (mapping IDs from odds responses). | |
| fixture_id | No | Optional fixture ID for the SGP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |