discord_search_members
Find Discord server members by matching a username or nickname prefix, returning IDs, usernames, nicknames, and roles. Use it to locate specific members without paging through everyone.
Instructions
Find server members whose username or nickname starts with a query string (prefix match). Returns { members: [...] } with id, username, nickname, roles. Use discord_list_members to page through everyone. Read-only.
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>",
"query": "<query>"
},
"name": "discord_search_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max members to return (1–100). Default 25. | |
| query | Yes | Prefix to match against usernames and nicknames. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | Yes |