ed_thread_action
Toggle the status of an Ed thread. Students can star or unstar for private favorites; staff can pin, unpin, lock, unlock, endorse, or unendorse.
Instructions
切换 Ed 帖子状态。star/unstar 学生可用(私人收藏);pin/unpin/lock/unlock/endorse/unendorse 需要教职工角色。
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": {
"thread_id": "<thread_id>",
"action": "<action>"
},
"name": "ed_thread_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| thread_id | Yes | Ed thread ID |