unpin_thread
Remove a thread from pinned status in Ed Discussion to declutter the pinned section and organize course content effectively.
Instructions
Unpin a thread
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>"
},
"name": "unpin_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | Global thread ID |
Implementation Reference
- src/api.ts:181-183 (handler)The handler method in EdApiClient that performs the API request to unpin a thread.
async unpinThread(threadId: number): Promise<void> { await this.request("POST", `threads/${threadId}/unpin`); }