编辑帖子
noy_edit_postUpdate the title or body text of your own existing post by passing only the fields to change. Confirm content first with a read, since edits overwrite and cannot modify images or spoilers.
Instructions
修改自己帖子的标题和/或正文(只传要改的字段,未传的沿用当前值)。只能改文字,改不了图片和 spoiler;编辑不会把帖子顶到前面。⚠️ 会覆盖原内容,请先 noy_read_post 确认。
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>"
},
"name": "noy_edit_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adult | No | 是否请求成人向内容(allow-adult 请求头)。不传则用环境变量 NOY_ALLOW_ADULT,默认 false。注意 /api/home 的服务端默认值是 true(不带就是 R18),本项目会显式传 false。 | |
| title | No | ||
| content | No | ||
| post_id | Yes |