wp_list_users
Retrieve a list of WordPress users, filtered by an optional search term, with id, username, email, and roles. Use returned id to manage users.
Instructions
List a site's WordPress users (id, username, name, email, roles).
Read-only. search is an optional substring WordPress matches against the login,
name and email. Start here: the id it returns is what you pass to wp_get_user /
wp_update_user / wp_delete_user. Requires the REST transport AND an ADMINISTRATOR
app password - WP's user endpoints refuse lesser roles (that comes back as an error,
not a crash).
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": {
"install": "<install>"
},
"name": "wp_list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| install | Yes |