Remove a player from a campaign
play_remove_campaign_playerRemove a player from a campaign. Caller must be the campaign's GM (its owner or an accepted gamemaster). The campaign owner cannot be removed. 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>"
},
"name": "play_remove_campaign_player"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playerId | Yes | Embedded player document id from play_list_campaign_players. | |
| campaignId | Yes | Campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||