How to build a catalogue
get_catalogue_guideThe full account of how catalogues work here — the same material the in-app assistant works from. Read the relevant topic BEFORE writing template.hbs, styles.css or a component: it covers the component model and locks, the Paged.js page-geometry traps that produce blank pages and white bands, the tagging contract the editor's Layers panel is built from, and how to resolve pictures stored inside spreadsheet cells. Ask for one topic rather than 'all' unless you are starting from nothing — 'all' is long.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>",
"llm_model": "<llm_model>"
},
"name": "get_catalogue_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | overview: The four root files, the component registry, how a spreadsheet becomes a rendered page, and the revision every write carries. | components: The two component types, which may call which, where CSS and helpers belong, and what a lock protects. | properties: The @prop annotations the editor's Properties panel is built from — theme and component custom properties a person can change without code. Visual style only, never layout. | pagedjs: Page setup, named pages, running headers, margin boxes — and the mistakes that produce blank pages and white bands. Read this before writing styles.css. | tagging: The data-content-tag / data-product-tag contract the editor's Layers panel is built from. A catalogue written without them arrives with an empty Layers tree. | cell-images: What a [cattalog-media-ref:…] token in a cell means, and how to resolve it to a real image URL in the transform. | rules: How to read data without burning context, what update_file does to what you send, and the transform and helper signatures. | all: every topic, in order. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |