wordpress_get_user
Get WordPress user details by user ID.
wordpress_get_user
Get user details by ID.
Parameters
1 parameter, 1 required.
| Name | Type | Required | What it is |
|---|---|---|---|
id | number | yes | User ID |
Example call
The smallest valid call, with the required parameters only:
{
"name": "wordpress_get_user",
"arguments": {
"id": 123
}
}
Response
{
"success": true,
"id": 1,
"username": "admin",
"email": "admin@example.com",
"display_name": "Site Admin",
"roles": [
"administrator"
]
}
What it changes
Nothing. It only reads, so there is nothing to approve and nothing to undo.
How long it takes
A typical call takes about 1.1 seconds. 19 in 20 finish within 1.9 seconds. Measured on real sites over the last week, so it includes the site's own hosting.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Example Prompts
- "Get user 1"
- "Show me details for the administrator account"
Related Tools
Was this page helpful?