Create a play campaign
play_create_campaignCreate a new campaign owned by the calling user. Required: name. ruleset becomes the campaign's first leg (campaigns hold ruleset-specific material in per-ruleset legs; add more with play_add_campaign_leg). Play writes only name, summary, description, image, public, hideSections, dismissedSessionZeroNudge, xCardEnabled, and showCreatureDetails at create and ignores any other field; seats come from the invite tools. Creating it public needs Premium, VIP, or admin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Campaign name. Required. | |
| image | No | Image URL. Stored as a plain string. | |
| public | No | Whether non-members can see the campaign. Making the campaign public needs Premium, VIP, or admin. | |
| ruleset | No | Ruleset code; list_rulesets returns the codes this account can use. Becomes the campaign's first leg. Play enforces required and a known code on the backend (400) and answers 403 for a ruleset this account is not entitled to; the gateway lets it be omitted so the LLM gets a clean backend error if it forgets. | |
| summary | No | Short campaign summary. Max 150 characters. | |
| description | No | Full campaign description. Markdown supported. | |
| hideSections | No | ||
| xCardEnabled | No | ||
| showCreatureDetails | No | Whether players see a creature's details (its health and armor class, per ruleset) at the top of a token's details on the campaign's battlemaps. A battlemap shows them only when every one of its campaigns has this on. Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||