Add people to a Space by email
spaces_invite_membersAdd up to 20 people to a Space with one role: editor (adds and changes things) or viewer (reads). Any email address works. Somebody with no account gets an invite email; somebody with one joins at once. Needs the owner or editor role. Returns one answer per address.
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": {
"spaceId": "<spaceId>",
"emails": "<emails>"
},
"name": "spaces_invite_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The role every address gets. | editor |
| emails | Yes | Email addresses. | |
| spaceId | Yes | The Space id, from spaces_list_spaces. | |
| documentId | No | Open this document for an invited person after they sign in. |