list_users
List all WordPress site users with optional filters for context and published posts. Requires admin permissions.
Instructions
List users in WordPress site. Only admin users have permission to do this.
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 |
|---|---|---|---|
| context | No | The context of users to list - default: view | view |
| has_published_posts | No | Whether to show users who haven't published posts - default: true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||