Create a prediction
create_predictionStart a Twitch channel-points prediction by providing a question, outcome options, and voting duration. The prediction is cached for later resolution.
Instructions
Start a Twitch channel-points prediction. The prediction id and outcomes are cached so end_prediction can resolve it by outcome title. Only works while live on Twitch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The prediction question, e.g. "Will we win this match?". | |
| duration | No | Prediction window in seconds (30-1800) during which viewers can vote. | |
| outcomes | Yes | 2-10 outcome titles (25 chars max each), e.g. ["Yes", "No"]. Titles must not contain commas. |