Add a ruleset leg to a campaign
play_add_campaign_legAdd a new active leg to a campaign for the given ruleset, letting the same campaign (same sessions, players, and history) also run under that ruleset. The new leg starts empty — no rules, items, spells, or characters; fill it with the add tools. One leg per ruleset: play answers 409 if a leg for this ruleset already exists. Caller must be the campaign owner or an accepted gamemaster; ordinary players get 403.
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>"
},
"name": "play_add_campaign_leg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleset | No | Ruleset code for the new leg; list_rulesets returns the codes this account can use. Required. One leg per ruleset — play answers 409 if the campaign already has a leg for this ruleset, 400 for an unknown code, and 403 for a ruleset this account is not entitled to. | |
| campaignId | Yes | Campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||