wp_user_list
Lists WordPress users in JSON format from an authorized site by executing wp user list with configurable user privileges.
Instructions
Lees de WordPress-gebruikers van een toegestane site als JSON.
site_path moet in wp_allowed_sites staan en wp-config.php
bevatten. De tool voert wp user list --format=json uit, standaard
als www-data; met as_www_data=False als root met --allow-root.
De bedoelde operatie is alleen-lezen en heeft een timeout van 60 seconden.
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": {
"site_path": "<site_path>"
},
"name": "wp_user_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_path | Yes | ||
| as_www_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||