search_macro_blocks
Find approved macro layout blocks by query, role, family, or tag, and filter by slot-compatible roles for your design page or environment.
Instructions
Search approved macro layout blocks by query, role, family, or tag. Optional design/page/slot context filters to slot-compatible roles. Returns summaries and immutable refs only; use cursors for more.
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. |