One PK battle
creators_battleRetrieve one TikTok creator battle by creator handle and battle ID, including teams, results, score timelines, lead changes, and top donors per team.
Instructions
One battle of the creator: teams and result, team scores over time (timeline, keyed by teamId), the moments the lead changed and TikTok's top contributors per team (donors, Pro and above; gifterAccess says locked otherwise). Needs API key scope live:read. Costs credits from the workspace wallet (billed as a cached read). Returns the API answer as JSON, with provenance (freshness, coverage, source).
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": {
"uid": "<uid>",
"battle_id": "<battle_id>"
},
"name": "creators_battle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Creator handle without `@` (e.g. `linh.live`) or numeric TikTok user id. | |
| battle_id | Yes | TikTok battle id (`battleId` from `creators_battles`). |