tiktok_posts
Retrieve posts from a TikTok profile by secUid, with pagination and sorting by latest, popular, or oldest. Use the returned cursor to fetch the next page.
Instructions
Retrieve posts from a TikTok profile. Lists posts from a TikTok profile identified by secUid. sort_type is 0 latest (default), 1 popular or 2 oldest. cursor defaults to 0. The response has itemList, hasMore and a cursor to pass back to fetch the next page.
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": {
"secUid": "<secUid>"
},
"name": "tiktok_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor | |
| secUid | Yes | TikTok secUid for the profile | |
| sort_type | No | Sort mode: 0 latest, 1 popular, 2 oldest |