Invite someone to the site
invite_team_memberInvite a person by email (owner only). viewer = read only; member = read and change the setup. They get an email with a link to the invite page, where they create an account or sign in with that address and join in one step. The result has invite_url, the same page for the user to share in another channel (it works only for that address). Invites expire after 14 days. Inviting an existing member changes only the role. Confirm the address with the user first. Pass idempotency_key so that a retry does not send a second email.
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": {
"email": "<email>"
},
"name": "invite_team_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | viewer | |
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| Yes | |||
| idempotency_key | No | A fresh UUID for this create. Send the same value when you retry the same call: the first result comes back and nothing is created twice. |