wp_users_get
Fetch a single WordPress user by ID. Use edit context to retrieve email, locale, and capabilities with the manage_options permission.
Instructions
Fetch a single user by id. Edit context returns email, locale, capabilities (requires manage_options).
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": {
"id": "<id>"
},
"name": "wp_users_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| context | No | edit |