Get a comment thread
get_comment_threadRead one comment with its whole thread: the top-level comment (root), its replies oldest first (the account's own replies have fromAccount: true), and the post it is on (media: caption, permalink). Read the thread before replying, so you do not answer a question the account already answered. Needs the organization's "Let AI assistants answer comments and messages" setting (owner-only; without it the api answers MCP_INBOX_DISABLED) and a connection authorized with the comments/chat permissions — one authorized before they existed must reconnect, and a client that kept its own registration from before then must remove PostRite and add it again.
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>"
},
"name": "get_comment_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | Comment ID from list_comments | |
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| media | No | ||
| focusId | No | ||
| replies | No |