Reply to a comment
reply_to_commentPosts a public text reply to a synchronized comment as the account that received it, using commentId, platform, and accountId from list_comments. Instagram, YouTube, and Facebook keep replies one level deep, so a reply to a reply is attached to the thread's top-level comment; parentCommentId in the result shows where the reply went. Facebook replies are posted as the Page, and TikTok replies need an account connected through TikTok for Business. On X, a reply that contains a link uses 20 of the organization's credits and other replies are free; without enough credits the call fails with INSUFFICIENT_CREDITS and the reply isn't sent, and the credits are refunded if the reply fails. Posteady also adds the reply to the comment list, so the thread shows as replied before the next sync. A PLATFORM_ERROR result or a timeout can mean the reply was already posted; repeating the call can post it twice. The target workspace is determined automatically from accountId.
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": {
"commentId": "<commentId>",
"platform": "<platform>",
"accountId": "<accountId>",
"text": "<text>"
},
"name": "reply_to_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Reply text. The platform's reply length limit applies. | |
| postId | No | postId from list_comments. Needed for LinkedIn, where the same comment ID can appear on different posts. | |
| platform | Yes | platform from list_comments. | |
| accountId | Yes | accountId from list_comments: the account that received the comment. | |
| commentId | Yes | commentId from list_comments. | |
| workspaceId | No | Optional. The workspace is determined automatically from accountId; when given, it must match the account's workspace. |