get_tiktok_user_posts
Retrieve a TikTok user's videos with pagination. Each video includes ID, caption, timestamp, and engagement stats. Use the user's secure ID from the profile endpoint to get started.
Instructions
List a TikTok user's videos with pagination as JSON. Each video includes ID, caption, timestamp, and stats (likes, comments, views, shares, bookmarks). Requires sec_user_id from the profile endpoint. Use data.max_cursor for next page; stop when data.has_more is 0.
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": {
"sec_user_id": "<sec_user_id>"
},
"name": "get_tiktok_user_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sec_user_id | Yes | Secure user ID from the get_tiktok_profile response. | |
| cursor | No | Pagination cursor. Use data.max_cursor from previous response for next page. | 0 |
| count | No | Number of results per page (1-30). | |
| sort_type | No | Sort order. '0' = latest first, '1' = most popular first. | 0 |