TikTok comments
tiktok_get_commentsTop-level comments on a TikTok post, in TikTok's order, about 20 per page, with author, like count and reply count. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
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": {
"post": "<post>"
},
"name": "tiktok_get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true returns TikTok's raw JSON in data instead of our fields (same price). Default false. | |
| post | Yes | TikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL. | |
| fresh | No | true skips the cache and fetches live data (full price). Default false. | |
| cursor | No | pagination.next_cursor from the previous page. Leave out for the first page. |