add_org_member
Adds a member to an organization by tenant ID or email, assigning or updating their role (owner, admin, member, or viewer); the organization must be on Kiln Business.
Instructions
Add tenant_id to org_id. role is one of owner, admin, member, viewer. Already- enrolled members get their role updated in place.
Needs the organisation to be on Kiln Business.
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": {
"org_id": "<org_id>"
},
"name": "add_org_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The member's org role: ``"owner"``, ``"admin"``, ``"member"`` (the default) or ``"viewer"``. An invitation on Kiln's hosted server takes ``"admin"``, ``"member"`` or ``"viewer"``. Default: "member". | |
| No | The person's email address. Required on Kiln's hosted server, where they are sent an invitation; not used elsewhere. | ||
| ask_id | No | The id an earlier ``APPROVAL_REQUIRED`` answer returned. Pass it on the repeat call to learn whether the person approved; omit it on the first call. | |
| org_id | Yes | The org the person joins. | |
| tenant_id | No | The account to add, on a computer running its own Kiln, where it is required. Not used on Kiln's hosted server, which invites by ``email``. | |
| invited_by | No | Who is adding the member, recorded on the membership. On Kiln's hosted server it is read from the signed-in session. |