guild_get_prune_count
Preview how many inactive members would be kicked before running a guild prune. Use it to estimate impact by setting an inactivity threshold in days and optional role filters.
Instructions
Purpose: Preview how many members would be pruned (kicked) for inactivity.
When to use: - Estimate impact before calling guild_begin_prune.
days (1..30) is the inactivity threshold.
include_roles WIDENS the prune (does not narrow it). An inactive member is pruned only if ALL of their roles appear in this list; a member holding ANY role not listed is never pruned. Members with no roles are always pruned regardless. Max 100.
Returns: {pruned} (estimated kick count).
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": "guild_get_prune_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Inactivity threshold in days (1..30, default 7) | |
| guild_id | Yes | Guild to query | |
| include_roles | No | WIDENS the prune (does not narrow it). An inactive member is pruned only if ALL of their roles appear in this list; a member holding ANY role not listed is never pruned. Members with no roles are always pruned regardless. Max 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||