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.
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": {
"title": "<title>",
"outcomes": "<outcomes>"
},
"name": "create_prediction"
}
}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. |