Create a page
play_create_pageCreate a new page. Required: name. Set documentType: 'player-recap' and ref: { refType: 'session', refId: <sessionId> } to make a session recap — play sends notifications to the other campaign players on recap create. Before creating a recap, call play_check_recap_exists first to avoid duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | What the page is attached to. Required for character notes; optional for free-form pages. Allowed on update too (Mongoose has no immutability constraint), though re-anchoring a page is unusual. | |
| link | No | URL-safe slug. Lowercase letters, numbers, and hyphens only. | |
| name | Yes | Page name / title. Required. | |
| active | No | ||
| public | No | ||
| summary | No | Short page summary. Max 255 characters. | |
| keywords | No | Comma-separated keyword string. | |
| promptId | No | Mongo `_id` reference (24-character hex string). | |
| description | No | Markdown body. | |
| documentType | No | What kind of page this is. Defaults to 'generic'. Use 'player-recap' for a session recap. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||