Pin comment
pin_commentPin a comment to the top of a post's comments, or unpin it. Pins one comment above the others under a post, as the comment menu's Pin does; pinned false unpins it. Group admins and moderators only. Sends nothing to anyone and is undone with one call, so it runs without asking first.
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": {
"group": "<group>",
"post_id": "<post_id>",
"comment_id": "<comment_id>"
},
"name": "pin_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group URL name, e.g. 'yourgroup' for skool.com/yourgroup. | |
| pinned | No | false unpins. Default: true. | |
| post_id | Yes | post_id the comment is under. | |
| comment_id | Yes | comment_id from get_post. |