Invite people to a site
invite_peopleAdd email addresses to a site's list and send each person an invitation from the account; choose view or comment access. One bad address or an over-limit list adds nobody.
Instructions
Adds email addresses to a site's list and emails each new one an invitation from the account. Use only addresses the person gave you — never guess, infer or look one up. comment lets them comment as well as open it. Inviting does not make the site private; update_site's invitedOnly: true does. On plans with private sharing; all or nothing — one bad address, or a list past the plan's limit, adds nobody.
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": {
"site": "<site>",
"emails": "<emails>"
},
"name": "invite_people"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | `view` (the default) to open the site, `comment` to open it and comment. | |
| site | Yes | Subdomain or site id, from list_sites. | |
| emails | Yes | The addresses, exactly as the person gave them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | Yes | Addresses added and emailed. | |
| total | Yes | How many are on the list now. | |
| alreadyListed | Yes | Addresses already on the list, left as they were and not emailed again. |