Create a user
create_userCreate a non-admin account on a self-hosted ntfy instance for notification users. Requires admin; grant topic access via manage_user_access before the new account can reach anything.
Instructions
Creates a non-admin account on a self-hosted instance. Requires an admin account. Grant it access to topics with manage_user_access — a new account can reach nothing until you do.
The API cannot create administrators; only the ntfy CLI can (ntfy user add --role=admin).
Asks a person first; where the client cannot show a dialog, call once to receive a token and again with it.
Be aware that a password passed as a tool argument stays in the conversation transcript. For an account that matters, create it on the server instead.
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>",
"password": "<password>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Tier name, on an instance that defines tiers. | |
| password | Yes | Initial password, at least 8 characters. | |
| username | Yes | The account name. | |
| confirm_token | No | The token from this tool’s previous, unconfirmed response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| role | Yes | The API cannot create an admin. | |
| created | Yes | The account name. |