Add a spell to a campaign's allowlist
play_add_campaign_spellAdd a vault spell to a campaign's allowlist. The spell always lands on the leg matching the SPELL's own ruleset — the campaign must have a leg for that ruleset or play answers 400. The optional ruleset param never retargets; it only confirms the expected leg, and a mismatch answers 400. Caller must have 'contribute' on the campaign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleset | No | Optional confirmation of the target leg's ruleset. The entity always lands on the leg matching its OWN ruleset — this param never retargets; when present, play verifies it matches that leg and answers 400 on a mismatch. Omit unless you want the placement double-checked. | |
| spellId | Yes | Vault document id (`spellId`). Required. | |
| campaignId | Yes | Campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||