Posting times for a TikTok account
get_tiktok_posting_timesUse this when someone asks for the best time to post on TikTok for their account, or when a specific public TikTok account should post. Input: the TikTok username, and optionally the creator’s time zone. It reads the account’s recent public videos and returns, for each 3-hour window and each weekday in which the account posted, how many videos were posted and their median views against the account’s typical views, plus the window with the highest median when at least two windows hold 2 or more videos. When the niche is clear from the captions, it adds when other creators’ stored posts in that niche were posted, as a secondary signal. It only compares past posting times with public view counts: it cannot see when followers are online, and a few videos are a weak signal. It does not predict or promise views.
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_tiktok_posting_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | Required. The public TikTok username to read, as text, with or without @ (for example nasa), or a tiktok.com profile link. | |
| time_zone | No | Optional. The creator’s time zone as an IANA name, for example America/New_York. Leave out to use UTC. Text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The matching page on inayaflow.ai. | |
| notes | No | ||
| limits | No | ||
| status | Yes | ok, or the plain reason there is no result (not_found, private, no_videos, videos_unavailable, not_enough_videos, invalid_input, unknown_niche, niche_needed, no_data, rate_limited, paused, off, busy, unavailable). | |
| account | No | ||
| message | Yes | One or two plain sentences that say what was found or what went wrong. | |
| time_zone | No | The clock the windows are on. UTC when no time zone was given. | |
| days_of_week | No | ||
| time_windows | No | Each 3-hour clock window in which this account posted: how many of the counted videos, their median views, and that median against the account’s typical views. | |
| typical_views | No | ||
| videos_counted | No | Recent public videos at least 3 days old with a date and a view count. | |
| niche_post_times | No | Only when the niche is clear from the captions and stored posts exist: when OTHER creators’ stored posts in that niche were posted. A secondary signal. | |
| most_posted_window | No | The 3-hour clock window (the same windows as time_windows) in which the account posts most often. `of` counts every dated recent video, the ones under 3 days old too. | |
| highest_median_window | No | The window with the highest median views among windows holding 2 or more videos. null when fewer than two windows hold 2 or more videos. Something to test, not a finding about followers. | |
| videos_left_out_as_too_new | No |