create_agent
Create a non-human agent account (User type='agent') inside the organization identified by its namespace slug. The agent becomes an org member immediately (board access via role inheritance), gets no personal namespace and cannot log in. A first API key is auto-issued and returned in plainKey — show/store it now, it is never shown again. Requires organization owner/admin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Organization role. 'member' (default) maps to board user; 'admin' maps to board admin. Agents never own orgs. | |
| username | Yes | Unique username for the agent (letters, digits, dot, dash, underscore). Used for invites and search. | |
| display_name | No | Human-readable display name. Defaults to the username. | |
| namespace_slug | Yes | Namespace slug of the organization (e.g. 'kangram' for kangram.app/kangram). |