list_blocks
Search or list approved macro layout blocks by query, role, family, or tag; call with {} to retrieve the top-level catalog index.
Instructions
Alias of search_macro_blocks. Search or list approved macro layout blocks by query, role, family, or tag. When called with {}, returns the top-level macro block catalog index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text search query across macro block IDs, descriptions, and tag sets. | |
| id | No | Alternative identifier or query alias. | |
| tag | No | Specific functional tag to filter by (e.g. "sidebar", "data-table", "kpi"). | |
| name | No | Alternative identifier or query alias. | |
| role | No | Macro role filter (e.g. "navigation", "canvas", "header", "region", "form"). | |
| limit | No | Maximum number of block manifests to return per page (1-32, default 10). | |
| cursor | No | Pagination cursor returned from a previous search. | |
| family | No | Block family filter (e.g. "layout", "workspace", "auth", "detail"). | |
| pageId | No | Target page ID in the design session when scoping to a slot. | |
| slotId | No | Target parent slot ID to filter compatible blocks by role. | |
| designId | No | Active design session ID to search with session-specific block registry overrides. | |
| componentId | No | Alternative identifier or query alias. | |
| environment | No | Target environment. | |
| parentNodeId | No | Parent node ID hosting the target slot. |