点赞消息圈
like_moment【需要登录】给一条消息圈点赞(like 缺省 true);like=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": {
"momentId": "<momentId>"
},
"name": "like_moment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| like | No | true 点赞(缺省)| false 取消赞 | |
| momentId | Yes | 消息圈 id(list_moments_feed / get_user_moments / search_moments 返回的 id) |