Get battle stats
get_battle_statsThe streamer's battle (Match) record over a period: wins, losses and draws, streaks, results by week, standout opponents, and a page of opponents with their record. Pass an opponent's key to also get that opponent's battles.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_battle_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of opponents (20 each). | |
| sort | No | Opponents ordered by last battle, most battles, most wins or most time. | recent |
| period | No | all: every battle; month: the last 30 days; quarter: the last 90 days. | all |
| search | No | Only opponents whose handle or name has this. | |
| opponent | No | An opponent's key from a previous answer, for their battles. |