发评论 / 回复评论
noy_commentPosts a comment on a post or replies to an existing comment by rid; supports emoji codes and returns the new comment ID by rereading the list.
Instructions
在帖子下发评论。不带 reply_to_rid 是顶层评论(reply_id=-1);带 reply_to_rid 是楼中楼回复。正文支持表情包代码。⚠️ 评论没有删除接口,发了就一直在;接口不返回评论 ID,本工具会回读列表找出新 rid。
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": {
"post_id": "<post_id>",
"text": "<text>"
},
"name": "noy_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 评论正文 | |
| adult | No | 是否请求成人向内容(allow-adult 请求头)。不传则用环境变量 NOY_ALLOW_ADULT,默认 false。注意 /api/home 的服务端默认值是 true(不带就是 R18),本项目会显式传 false。 | |
| post_id | Yes | 帖子 ID | |
| platform | No | web | |
| reply_to_rid | No | 要回复的评论 rid(楼中楼);不传 = 发顶层评论 |