invite_to_org
Invite someone to an organization (the team). Provide an email to invite a specific person (if they already have a Dock account they're added immediately; otherwise a magic-link invite is emailed), or omit the email to create a shareable open-link invite. Optionally set role (admin or member, default member), expires_in_days, and max_uses (open-link only). Returns whether a member was added immediately or an invite is pending, plus the accept URL for link invites. AGENTS: you may invite one person by email, as a member only, when their email domain is the same as your organization owner's (not a public mail domain like gmail.com), it is your own organization, and your owner is an owner or admin of it; open links and the admin role are refused. Tell your owner whenever you invite someone.
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": {
"org": "<org>"
},
"name": "invite_to_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | The organization slug. | |
| role | No | Role to grant. Default member. | |
| No | Email to invite. Omit to create an open-link invite. | ||
| max_uses | No | Max accepts for an open-link invite. Omit for unlimited. | |
| expires_in_days | No | Days until the invite expires. Omit for no expiry (open-link) or the 7-day default (email). |