wordpress_create_user
Create a new WordPress user.
wordpress_create_user
Create a new user.
Parameters
5 parameters, 3 required.
| Name | Type | Required | What it is |
|---|---|---|---|
username | string | yes | Username |
email | string | yes | Email address |
password | string | yes | Password |
role | string | no | User role (default: subscriber) |
approval_token | string | no | Single-use approval token from a prior respira_approval_required response. The plugin returns a fresh token on every blocked call (data.approval_request.approval_token); pass that exact string here on the retry to complete the create. |
Example call
The smallest valid call, with the required parameters only:
{
"name": "wordpress_create_user",
"arguments": {
"username": "Example title",
"email": "value",
"password": "value"
}
}
Response
{
"success": true,
"id": 55,
"username": "newuser"
}
What it changes
It writes to the site. On a page or post the edit lands on a copy first. The live page changes only when a person approves the copy in wp-admin. Calling it twice does the work twice. On a connection set to read-only it is refused with respira_scope_denied.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Notes
- Use strong passwords and least-privilege roles
Example Prompts
- "Create a new user for john@example.com"
- "Create an editor account named 'content-team' with password X"
Related Tools
Was this page helpful?