list-users
Get a filtered list of WordPress users by role, search term, or registration date. Control pagination and sorting to locate accounts.
Instructions
List WordPress users with filtering options
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list-users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| role | No | Filter by user role (e.g., 'administrator', 'editor', 'author') | |
| order | No | Sort order | desc |
| search | No | Search users by name or email | |
| orderBy | No | Order users by | registered_date |
| perPage | No | Users per page (max: 100) | |
| registeredAfter | No | Filter users registered after this date (ISO format) | |
| registeredBefore | No | Filter users registered before this date (ISO format) |