Comment in a chapter's discussion
post_commentSIDE EFFECT: publishes a comment, in the signed-in person's name, in the public discussion of one chapter, where other readers see it. Use only when the person asks to post it, with words they approved. Optional quote pins it to a passage (copy it exactly from the chapter); reply_to answers a comment from get_chapter_discussion. Every comment goes through the site's moderation: one it holds is shown to the author only, and the result says so. Needs sign-in with the mikefluff:discuss scope and a chapter the person may read. For a private remark to the author use send_note_to_author.
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": {
"book": "<book>",
"chapter": "<chapter>",
"lang": "<lang>",
"body": "<body>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The comment, as the person wants it published. | |
| book | Yes | Book slug. | |
| lang | Yes | Edition (language of the text): each has its own discussion. | |
| quote | No | An exact passage from the chapter the comment is about. | |
| chapter | Yes | Chapter id, e.g. "ch01". | |
| reply_to | No | Id of the comment this answers. |