list_block_usage
Identify all pages, layout regions, and drafts storing a block type, including orphaned and unused types, before renaming or removing it in code.
Instructions
Show where each block type is stored across the workspace: draft and published page blocks, layout regions (draft and published) and developer drafts, with per-surface counts and the pages that hold it. registered says whether the active block manifest still declares the type; orphanTypes lists types stored but no longer registered (the site renders nothing for them), unusedTypes lists registered types no page uses. Use it before renaming or removing a block type in code, then migrate or remove the instances it lists with update_block_content / remove_block_from_page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Only report these block types. Omit to report every type the workspace stores or registers. | |
| includeHistory | No | Also count the page version history, including versions of deleted pages. Off by default. |