moodle_reply_forum_post
Reply to a specific Moodle forum post using its post ID; the response appears instantly for the entire class.
Instructions
回复 Moodle 论坛里的某个帖子。postid 是被回复那条帖子的 id(从 moodle_get_discussion_posts 的返回里拿)。不给 subject 就沿用 Moodle 预填的「Re: 原标题」。回复立即全班可见。
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": {
"postid": "<postid>",
"message": "<message>"
},
"name": "moodle_reply_forum_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postid | Yes | 被回复帖子的 id,从 moodle_get_discussion_posts 拿 | |
| message | Yes | 回复正文 | |
| subject | No | 标题,不给就用 Moodle 预填的 Re: 原标题 |