Set a post's first comment
set_first_commentGive an existing post a first comment, or change its text or when it goes out, without recreating the post. Works until the post is out — and after, while a held comment ("after" / "views" / "likes") is still waiting. Fields left out keep their value; firstComment "" removes it (before the post is out only).
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": {
"id": "<id>"
},
"name": "set_first_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post id from create_post or list_posts. | |
| firstComment | No | ||
| organizationId | No | Which organization to act in: an id from list_organizations. Leave out for this connection's default organization. | |
| firstCommentTrigger | No | When firstComment goes out. "now" (default): right after the post is live. "after": firstCommentThreshold minutes after it is live (e.g. 240 = 4 hours; at most 7 days). "views" / "likes": once the post has firstCommentThreshold of them — threads and instagram only, read every 5 minutes at first and less often as it ages; if it never gets there in 7 days the comment is not posted and get_post_status says why, unless firstCommentFallbackMinutes is set. A comment never fails the post. | |
| firstCommentThreshold | No | Minutes for "after", the count for "views" / "likes". Required unless the trigger is "now". | |
| firstCommentFallbackMinutes | No | Only with "views" / "likes": whichever comes first. The comment goes out once the post has firstCommentThreshold of them, or this many minutes after it is live, even if the network gives no reading (e.g. threshold 5 + 300 = 5 likes or 5 hours). A whole number, 1 to 10080 (7 days). null removes it. |