Invite a player to a campaign
play_invite_campaign_playerSend a campaign invite to another user. Caller must have 'contribute' on the campaign. Play rate-limits this endpoint (per-caller and per-campaign) to deter spam.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role to invite the user as. 'player' is the default and almost always what you want; 'watcher' is read-only; 'gamemaster' grants co-DM permissions. | player |
| userId | Yes | User id of the invitee. Required. Pair with play_find_friend if you only have a name or email; invite-by-email is not supported at this endpoint. | |
| campaignId | Yes | Campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||