wp_list_blocks
Lists Gutenberg blocks for a given WordPress page or post ID, showing block names, paths, and attribute previews. Use it to inspect and analyze the block structure of any content.
Instructions
List Gutenberg blocks on a page/post as a flat index with blockName, path, and attributes preview
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | WordPress page or post ID |