When to post
get_posting_insightsSays when to post on one YouTube channel or TikTok account, and what works there, version 1: each three-hour slot's average views in the first 24 hours, from PostReach's record of when each video went out in the workspace's time zone; how sure each slot is, by how many videos went out in it; the best slots from 06:00 on with when each next starts; a slot not tried yet; and on YouTube, what YouTube Analytics says keeps people watching and how people find the channel. It only works once the person has agreed to this app seeing the numbers, on the AI Agents page. It reads what's stored, with when it was read, and never calls a network. When they ask to post at the best time, call it for each account the post is going to, then propose the next start of a best slot, or say it's still learning and ask them, or offer the slot not tried yet as an experiment, and wait for their yes like any other time. Never propose a time before 06:00 in the workspace's time zone: videos sent at night are counted, and never suggested. Quote the summary if they ask why. Example: account_id "con_1".
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": {
"account_id": "<account_id>"
},
"name": "get_posting_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | The version of the answer you read. Only 1 so far, and a field is only ever added within it | |
| account_id | Yes | A YouTube channel or TikTok account, from get_publishing_context |