maket_collection
Manage typed data collections that drive page rendering. Create, validate, and edit collection schemas and rows, then bind collections to pages to generate multi-page outputs.
Instructions
When to use: manage data collections used by page placeholders.
Collections are typed by JSON Schema and contain ordered members. A page can be bound to one collection; rendering then produces one page per member. list — list collections. view — read one collection with fields and members. create — create an empty collection from a JSON Schema. validate_schema — check a schema against existing members without saving. change_schema — apply a schema only when existing members validate. add_row / update_row / delete_row — edit collection members. delete — remove a collection. bind / unbind — bind or clear a collection on a document page. cursor — read or move a bound page's preview cursor (doc + page required). Without mode/row it reads; with mode (template|rendered|all) and/or row (member id or 1-based number) it moves. The human's live canvas, this cursor and the exports all share this state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | ||
| row | No | ||
| data | No | ||
| mode | No | ||
| name | No | ||
| page | No | ||
| action | Yes | ||
| schema | No | ||
| description | No |