prune_members
Remove inactive members with no roles from a Discord server after a configurable inactivity period, recording an optional audit reason.
Instructions
Prune inactive members from the server who have no roles
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": "prune_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days of inactivity (1-30, default: 7) | |
| reason | No | Audit log reason | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) |