threads_leave
Remove the current bot from a Discord thread after finishing its task to reduce noise. Returns left status and thread ID.
Instructions
Purpose: Remove the current bot user from a thread.
When to use:
Bot finished its task in the thread; reduce noise / event fanout.
When NOT to use:
Removing a different user → use
threads_remove_member.
Returns: {left, thread_id}. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | Thread to leave |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||