Change a campaign player's role
play_set_campaign_player_roleChange the role of a seat in a campaign, accepted or still a pending invite. Caller must be the campaign's GM (its owner or an accepted gamemaster). The campaign owner's role cannot be changed, and a caller cannot change their own. playerId is the player-record id returned by play_list_campaign_players (the embedded player doc id, NOT the user's id).
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": {
"campaignId": "<campaignId>",
"playerId": "<playerId>",
"role": "<role>"
},
"name": "play_set_campaign_player_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The seat's new role. 'watcher' is read-only; 'gamemaster' grants co-DM permissions. | |
| playerId | Yes | Embedded player document id from play_list_campaign_players. | |
| campaignId | Yes | Campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||