Blocks Pages
kuickr_blocksBuild a blocks Page: a structured Page Kuickr draws from a validated kuickr.blocks/1 document (headings, text, tables, sections, columns, images, forms bound to an enabled Intake, shared lists, partials), never from your markup. Use it for a menu, order, booking or info Page; use kuickr_pages_write for Markdown or HTML. Start with action=catalog: every type, prop, slot, limit and refusal code, with an example per type. create stores a whole document at a path ending .blocks.json (replacing one needs expected_sha). get returns the document, its sha and an outline of block ids. insert, update, move and remove change one block by id (block_id, or block for insert) in a parent block's slot or at the top level, at position, and need the sha from get or the last write as expected_sha. dry_run validates and returns an HTML preview, storing nothing. partial_create stores a reusable partial at _partials/.blocks.json and returns the partial block that places it on a Page of the same Folder; partial_update replaces it and lists the Pages that show it. A refusal is { code, path, message, allowed } for the whole write and nothing is stored: correct the block at path. In a chat host that shows MCP Apps, a result about one Page is drawn by the App ui://kuickr/blocks/app from that Page's resource (ui://kuickr/blocks/); its forms send through kuickr_intake action=submit.
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": {
"action": "<action>"
},
"name": "kuickr_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Space slug (omit org+folder to use your personal Space / Unfiled). | |
| name | No | partial_create/partial_update: the partial's slug (lowercase letters, digits, - and _). | |
| path | No | Page path ending .blocks.json, e.g. menu.blocks.json. partial_update may name the partial by path or name. | |
| slot | No | insert/move with parent: the parent's slot name, e.g. body. | |
| block | No | insert: the new block { id, type, props, slots, bind }. update: only the keys to replace; null removes a key. | |
| action | Yes | catalog | create | get | insert | update | move | remove | dry_run | partial_create | partial_update. | |
| folder | No | Folder slug. | |
| parent | No | insert/move: the id of the block whose slot receives it; omit for the top level. | |
| block_id | No | update/move/remove: the id of the block to change. | |
| document | No | create/dry_run/partial_create/partial_update: the whole kuickr.blocks/1 document { schema, blocks }. | |
| position | No | insert/move: index in the receiving list; omit to add at the end. | |
| expected_sha | No | The sha from get or the last write; required for block operations, partial_update and replacing a Page. A stale sha is refused stale_revision. |