stream_market
Monitor a prediction market in real-time by providing its slug. Receive the first price change event via WebSocket, with a configurable timeout if no change occurs.
Instructions
Watch a single market by slug via WebSocket and return the first change event. Times out if no change occurs. Requires the market slug, not the market app ID.
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": {
"slug": "<slug>"
},
"name": "stream_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The market slug (URL-friendly name) | |
| timeoutMs | No | Max time to wait in ms (default: 15000) |