sockdock_find_users
Finds Slack workspace members by partial display or real name and returns their member IDs (U…), so you can fill allowed_users in rules or look up a poster's ID for match testing.
Instructions
Finds people in the Slack workspace by part of their display name or real name and returns their member IDs (U…). Use it to fill allowed_users in sockdock_save_rule when the user names who may run a rule ("only Taro and me"), or to get a poster's ID for sockdock_test_match. Several people can share a name: if more than one matches, ask the user which one. It needs the users:read scope on the Slack app; problem missing_scope means it is missing: ask the user for member IDs (Slack profile → Copy member ID), or to add users:read to the Slack app and reinstall it.
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": {
"name": "<name>"
},
"name": "sockdock_find_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | part of a display name or real name (case-insensitive), or a member ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | Yes | ||
| problem | No | why people cannot be listed: missing_scope (the Slack app lacks users:read; ask the user for member IDs, or to add users:read and reinstall the app), unavailable (not connected) or error |