create_user
Create an instance-wide CMS user account for admin sign-in with email, password, and roles; share the password out of band so the user can update it.
Instructions
Create a CMS user account that signs in to the admin with this email and password (instance-wide, all sites). Admin only; needs a token not limited to one site. Returns {id}. Share the password with the person out of band; they can change it and enable 2FA themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name, e.g. 'Kari Nordmann'. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| Yes | Sign-in email address; must be unique. | ||
| roles | Yes | Admin = everything; Editor = all content + publish + form submissions; Author = write content within its sections; Viewer = read-only. | |
| password | Yes | Initial password, at least 10 characters. | |
| sections | No | documentIds of top-level pages this user is limited to (its subtree). Omit or [] for the whole site. |