generate_pr_json
Format new or modified spells and monsters into PR-ready JSON for open5e-api submissions, with document slug and add/modify operation.
Instructions
Generate PR-ready JSON output for a new or modified entry, suitable for submitting to open5e-api.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Resource data to format for PR | |
| operation | Yes | Whether adding new or modifying existing | |
| document_slug | Yes | Target source book (e.g., "srd-2014", "tob") | |
| resource_type | Yes | Type of resource |