Pause invites and DMs
set_incident_actionsPause new invites and non-friend DMs for up to 24 hours during a raid, lift pauses with confirmation, or report current incident actions and Discord-detected spam.
Instructions
Discord's raid-defense security actions for the whole server. Pause new invites, and pause DMs between members who are not friends, each for up to 24 hours, to lock the server down during a raid. Give a number of hours to pause, 0 to lift a pause, or omit a field to leave it unchanged. Called with neither field, it reports the current state, including any raid or DM spam Discord detected on its own. Pausing, or pausing for longer, happens at once. Lifting a pause that is running, or ending it sooner, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change.
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": "set_incident_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dms | No | Hours to pause DMs between non-friend members, up to 24. Use 0 to resume, or omit to leave them unchanged. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| invites | No | Hours to pause new invites, up to 24. Use 0 to resume invites, or omit to leave them unchanged. | |
| confirm_token | No | The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree. |