Get a play campaign
play_get_campaignFetch one campaign by id, including settings and any DM/player metadata. Calling user must be a member (DM or player). The campaign's ruleset-specific material lives in its legs array — one entry per ruleset, each carrying { ruleset, active, rules, items, spells, characters }; inactive legs are hidden from normal UI but never deleted. There is no campaign-level ruleset field. Defaults to a summary shape: each leg's raw rule/item/spell ObjectId arrays are replaced with resolved [{ _id, name }, ...] lists the LLM can act on. Pass detail: 'full' to receive the raw ObjectId arrays instead. The response's imagineAdventures array ([{ id, name }, ...]) lists the Imagine adventures linked to this campaign — read-only here (maintained from the Imagine side); its ids are the valid values for a session's imagineAdventureId tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mongo `_id` of the campaign. | |
| detail | No | Response shape. 'summary' (default) trims raw-ObjectId arrays and full character sheets to a compact LLM-friendly form; 'full' returns the populated document with every field inline. | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||