Get a block
struq_blokOne admitted block as files ready for components/struq/: the block, every kit file and helper it imports (relative paths, so the folder works as is), blocks.css trimmed to the kit base plus this block's rules, the npm packages, the props, the variant ids and a usage example. States how to use it by role: a frame, opening or centerpiece block is written verbatim; a pattern block is a worked example the client may adapt to its storyboard, with the kit files kept verbatim. Also states the chosen variant's energy and pinned screens, so the page can hold its budget. The slug may also name a kit quiet scene (Statement, PhotoText, Rows, Close, or quiet for all four): it returns the scene files for components/struq/kit/quiet/ with every kit file they import, blocks.css, the packages, and per scene its props and a usage example; kit scenes are quiet by definition (energy 1) and written exactly as returned. The slug may also name a subject piece (Document, AppScreen, Ticket, PatternPaper, SectionDrawing, or subject for all of them): it returns the files for components/struq/kit/subject/ with every kit file they import, blocks.css, the packages, and per piece its props and a usage example, written exactly as returned and filled with the client's own data. The slug may also name a motion primitive (RevealText, Rise, MaskWipe, ImageCurtain, HoverLink, Pressable, ScrubLine, or motion for all of them): it returns the files for components/struq/kit/motion/ with the feel tokens (kit/feel.ts) and every kit file they import, blocks.css, the packages, and per primitive its props and a usage example, written exactly as returned. The slug may also name a middle scene (ServicesList, ProcessStrip, PlaceHours, or middle for all of them): it returns the files for components/struq/kit/middle/ with every kit file they import, blocks.css, the packages, and per scene its props and a usage example, written exactly as returned; the variant is a prop of the scene, not this tool's variant.
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": {
"slug": "<slug>"
},
"name": "struq_blok"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | A block slug from struq_blokken, or a kit quiet scene: Statement, PhotoText, Rows or Close, or quiet for all four. | |
| variant | No | One of the block's variant ids from struq_blokken. Omit for its first, the default. Kit scenes have none. |