prediction_ai
VARRD's PREDICTION lane: Kalshi / Polymarket / sports markets, through the same engine and the same rules (K-tracking, no lookahead, one hypothesis at a time). PRICE: use is charged for what it cost (the model's usage, no surcharge); nothing has a set price.
MULTI-TURN: the first call creates a session; keep passing session_id. Flow: describe the signal in plain language -> 'test it' -> results (per-hold win rate, edge vs the market price, p-values) -> 'trade setup'. Say 'start a new hypothesis' between ideas.
Read state and next_steps every call; widgets carry the tables the result is made of.
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": {
"message": "<message>"
},
"name": "prediction_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Your prediction-market idea, question, or instruction ('test it', 'trade setup'). | |
| session_id | No | Session id from a previous call. Omit to start a new session. | |
| league_hint | No | Optional league hint for ambiguous team names: NFL, NBA, CFB, MLB, NHL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | AI response text | |
| state | No | Where the flow is: scope, signal built, tested, ... | |
| widgets | No | Result tables (event study, retest, trade setup) | |
| next_steps | No | What the user can ask for next | |
| session_id | No |