moodle_delete_forum_post
Delete your own Moodle forum posts or replies before the 30-minute editing window closes. Permanent removal; deleting a thread's first post removes the entire discussion.
Instructions
删掉自己在 Moodle 论坛发的帖子或回复。**删了就没了,Moodle 没有回收站。**删讨论的首楼会连整个讨论一起删掉。学生只有一段编辑窗口(通常 30 分钟),过期就删不了,工具会明确报错。
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>"
},
"name": "moodle_delete_forum_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postid | Yes | 要删的帖子 id,从 moodle_get_discussion_posts 拿 |