wp_users_get_current
Identify the currently authenticated WordPress user via Application Password, revealing their role and capabilities.
Instructions
Return the user associated with the Application Password used to authenticate. Useful for "whoami" checks and discovering current role/capabilities.
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": "wp_users_get_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||