Create a user
create_userCreate a WordPress user with specified role, username, email, and password. Requires administrator access; choose role carefully as administrator grants full site control.
Instructions
Create a WordPress user. Requires an Administrator account. Choose the role deliberately — "administrator" grants full control of the site including plugin and theme installation.
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": {
"username": "<username>",
"email": "<email>",
"password": "<password>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Website URL. | |
| meta | No | Custom fields as key/value pairs, for keys registered with show_in_rest. | |
| name | No | Display name. | |
| Yes | Email address. Must be unique on the site. | ||
| roles | No | Role slugs, e.g. ["editor"]. Defaults to the site's default role (usually subscriber). | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| password | Yes | Initial password. Use a long random value and share it out of band. | |
| username | Yes | Login name. Cannot be changed later. | |
| last_name | No | Family name. | |
| first_name | No | Given name. | |
| description | No | Author bio. |