discord_search_members
Find a Discord server member's user ID by searching usernames or nicknames with a case-insensitive prefix match. Specify the server and starting text to return matching members.
Instructions
Search server members by the start of their username or nickname (prefix match, case-insensitive). Use it to find a member's user ID.
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>",
"query": "<query>"
},
"name": "discord_search_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of members to return (default 10, max 1000) | |
| query | Yes | Start of a username or nickname. | |
| guildId | Yes | The ID of the server (guild) to search in. |