Accept a pending invitation for the invitee (staff)
accept_invite_on_behalfStaff only. Completes a pending email member invite the way a real sign-up does: the login (set to the invite's email, plus phone if given), the seat, roles and plan rows. No password is set; the person signs in later by email or phone code. invite_id comes from list_team pending_invites. Without confirm it returns the invitation and changes nothing. Logged to the account's action log.
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": {
"invite_id": "<invite_id>"
},
"name": "accept_invite_on_behalf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | E.164. Optional; set as the login's phone. | |
| confirm | No | Accepts it. | |
| invite_id | Yes | ||
| last_name | No | ||
| first_name | No |