Discord audit log (admin)
discord_admin_audit_logRetrieve and filter recent Discord audit log entries to see who created, changed, or deleted channels, roles, permissions, members, messages, invites, and webhooks by user or action.
Instructions
Recent entries from Discord's own audit log: who created, changed or deleted channels, roles, permissions, members, messages, invites and webhooks. Filter by user or action. Actions: server_update, channel_create, channel_update, channel_delete, permission_create, permission_update, permission_delete, member_kick, member_ban, member_unban, member_update, member_roles_update, bot_add, role_create, role_update, role_delete, invite_create, invite_delete, webhook_create, webhook_delete, message_delete, message_bulk_delete, message_pin, message_unpin, thread_create, thread_update, thread_delete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discord_admin_audit_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| action | No | One action name from the list | |
| before | No | Only entries before this entry ID (paging) | |
| user_id | No | Only actions by this user |