List privacy-safe Discord guild audit entries
list_guild_audit_entriesLists a bounded, privacy-minimized page of Discord guild audit entries with exact actor, action, and target filters, cursor-based older/newer pagination, and optional reasons.
Instructions
List one bounded privacy-minimized guild audit page with exact actor, action and affected-entity target filters. Default and before pages descend; after pages ascend, with afterEntryId 0 starting at the oldest available entry. Before and after are mutually exclusive. Every returned and lookahead row must match ordering, cursor and selected filters. Continuation uses the last returned row only when lookahead proves more observations; an empty or short page proves no complete history or target absence. Embedded objects, change/option values and non-snowflake targets stay omitted; reasons require opt-in. Target filtering has official OpenAPI support but live behavior is unverified; no fallback scan or target-object fetch occurs.
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": {
"guildId": "<guildId>"
},
"name": "list_guild_audit_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum privacy-minimized entries to return | |
| guildId | Yes | Exact permitted Discord guild ID | |
| targetId | No | Exact positive affected-entity target_id filter, checked on every returned row; grants no target-object read access | |
| actionType | No | Optional exact numeric Discord audit action type | |
| actorUserId | No | Optional exact executor user ID filter | |
| afterEntryId | No | Exact cursor for the next ascending newer page; 0 explicitly starts from the oldest available entry; excludes beforeEntryId | |
| beforeEntryId | No | Optional exact audit entry cursor for the next older page | |
| includeReasons | No | Explicitly include audit reasons; change and option values remain omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |