TikTok scripts, hooks, captions and ideas for an account
get_tiktok_script_and_hook_inputsUse this when someone asks for a TikTok script, a viral TikTok script, hooks or opening lines, a caption, a title, or video and content ideas for a specific public TikTok account. Input: the TikTok username. It reads that account’s recent public videos and returns the ones with the most views (up to 5) and the ones with the fewest, each with how it compares to the account’s typical (median) views, their captions and opening lines, the hashtags used and the posting rhythm, plus a writing method with 7 hook types. When the niche is clear from the captions, it adds a few recent public posts from other creators in that niche (a stored weekly sample). The scripts, hooks, captions or ideas are then written from this data. Public data only: it cannot read private accounts, watch time or the words spoken inside a video. 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_script_and_hook_inputs"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The matching page on inayaflow.ai. | |
| limits | No | ||
| method | No | How to write the scripts, hooks, captions and ideas from this data. | |
| 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. | |
| top_videos | No | The recent public videos with the most views, highest first (up to 5). times_typical on each shows how it compares with typical_views; it can be under 1. | |
| videos_read | No | ||
| lower_videos | No | The recent public videos with the fewest views, for contrast. | |
| niche_trends | No | Only when the niche is clear from the captions and stored posts exist: up to 4 recent public posts by OTHER creators in the same niche (a stored weekly sample), for topic and format ideas next to the account’s own videos. | |
| hashtags_used | No | ||
| typical_views | No | Median views of the recent public videos that were read. | |
| posting_rhythm | No |