Create a comment or reply
create_commentPost a top-level comment or threaded reply on supported social posts after a preview, so you can engage audiences and control exactly what is published.
Instructions
Post a top-level comment or a reply on a post. Provide exactly ONE of commentId (reply to a comment), postId, or postUrl (top-level). LinkedIn: postId=the post urn; the comment is made as whoever published the post (the member on a personal post, the Page on a Page post) unless linkedinPageId says otherwise. Instagram: commentId replies to a comment, and postId (the numeric media id) or postUrl without it posts a top-level comment on one of the account's own posts. TikTok always needs postId (the video id); add commentId on top of it to reply inside that thread. X: links are removed from the message unless the account is allowed links on X (the response then lists it in warnings), and a message that was only links is refused with 400 x_links_not_allowed. Replies on X share a daily limit per X account with post edits and reposts made through Upload-Post (20 a day on the free plan, 200 on paid plans, reset at 00:00 UTC); past it the call returns 429 x_daily_write_limit with retry_after in seconds. TikTok: Requires the 'comments' capability on the profile's TikTok account (see the capabilities array in list_users). It is granted at connection time, so an account connected earlier has to reconnect TikTok before this works. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
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": {
"user": "<user>",
"message": "<message>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Upload-Post profile name. | |
| postId | No | Top-level comment on this post ID. LinkedIn: the post urn. TikTok: the video id, always required. | |
| message | Yes | Comment text to post. | |
| postUrl | No | Top-level comment on this post URL. | |
| imageUrl | No | TikTok only: public URL of an image posted as the comment or with it (JPG, PNG or WebP, up to 5 MB, 360x360 to 1080x1920 or 1920x1080 pixels); an image TikTok cannot take answers 400 invalid_image and nothing is posted. Sent as `image_url`. | |
| platform | No | Social platform. One of instagram, facebook, youtube, linkedin, tiktok, x, threads, bluesky. | |
| commentId | No | Reply to this comment. Required by Instagram. TikTok: pass it together with postId to reply inside a thread. | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| linkedinPageId | No | LinkedIn only: who the comment is made as. `personal` = the member's own profile; a numeric organization id (from get_linkedin_pages) = that company Page. Leave it out to comment as the author of the post. A Page pinned to the profile wins over a page id sent here, but not over `personal`. Sent as `target_linkedin_page_id`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |