share_rate_comment
Like or dislike a comment using its ID; set liked to false to cancel or remove the rating.
Instructions
点赞/点踩评论;liked=false 取消。
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>",
"rating": "<rating>"
},
"name": "share_rate_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liked | No | ||
| rating | Yes | ||
| comment_id | Yes | 平台对象 ID,正整数 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||