DISCORD_USER_LOOKUP
Search for a user in a server by username or nickname.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Server ID to search in |
query | string | yes | Username or nickname to search for |
limit | integer | — | Max results (default 10) |
How to use it
You normally trigger this by describing what you want in chat — the agent selects DISCORD_USER_LOOKUP automatically. For example:
Try saying
“use discord to discord …”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "discord",
"action": "DISCORD_USER_LOOKUP",
"args": {
"guild_id": "…",
"query": "example query",
"limit": 5
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"DISCORD_USER_LOOKUP","args":{"guild_id":"…","query":"example query","limit":5}}'Part of the discord plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.