Export Discord guild members
export_guild_membersExports a bounded page of guild members as JSON with user IDs, roles, and membership state. Check coverage, then continue from the last exported ID to fetch the next page.
Instructions
Export a bounded member-directory observation as caller-retained JSON. Returns user IDs, role IDs, and reported membership state. Inspect coverage and explicitly continue from the last exported ID. Requires the Guild Members intent.
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": "export_guild_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | ||
| maxBytes | No | ||
| pageLimit | No | ||
| afterUserId | No | ||
| memberLimit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atomic | Yes | ||
| limits | Yes | ||
| status | Yes | ||
| guildId | Yes | ||
| artifact | Yes | ||
| coverage | Yes | ||
| warnings | Yes | ||
| botUserId | Yes | ||
| startedAt | Yes | ||
| finishedAt | Yes | ||
| applicationId | Yes | ||
| schemaVersion | Yes |