add_team_member
Adds an account to a team and sets its role as member or maintainer, so you can manage Kiln Business team membership.
Instructions
Add tenant_id to team_id.
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": {
"team_id": "<team_id>",
"tenant_id": "<tenant_id>"
},
"name": "add_team_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The team role: ``"maintainer"`` or ``"member"`` (the default). Any other value is refused. Default: "member". | |
| 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. | |
| team_id | Yes | The team the person joins. | |
| added_by | No | Who is adding the member, recorded on the membership. On Kiln's hosted server it is read from the signed-in session. | |
| tenant_id | Yes | The account added to the team. |