discord_get_audit_log
Retrieve a Discord server's audit log to see who changed what, newest first; requires View Audit Log permission.
Instructions
Read a server's audit log (who changed what, newest first). Needs View Audit Log.
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": {
"guild_id": "<guild_id>"
},
"name": "discord_get_audit_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 25 | |
| user_id | No | Only actions by this user (optional) | |
| guild_id | Yes | Server (guild) ID | |
| action_type | No | Discord audit log action type number (optional) |