WordPress: Get current user
wordpress_get_current_userRetrieve the authenticated WordPress user’s ID, name, username, email, and roles for a specified site to identify permissions and profile details.
Instructions
[UNIFIED] Get information about the currently authenticated user including ID, name, username, email, and roles.
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": "<site>"
},
"name": "wordpress_get_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes |