vote_comment
Upvote or downvote a comment on Liberty.win. Voting the same direction again removes the vote (toggle).
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": {
"comment_id": "<comment_id>",
"direction": "<direction>"
},
"name": "vote_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | Vote direction: 1 for upvote, -1 for downvote | |
| comment_id | Yes | The comment ID to vote on |