list_content
Enumerate all pages, shared blocks, or global singletons in a Paperboy CMS site as a flat array with IDs, names, types, statuses, and parent/folder links for quick lookup and editing.
Instructions
List EVERY item of one kind in this site that you can see, as one flat array (documentId, name, type, per-locale status, plus parentId for pages and folderId for blocks) — no tree walking needed. kind 'page': pages, to find one by name or pick a parent/reference target (list_tree shows one level in display order). kind 'block': SHARED blocks — reusable block documents (banners, forms, CTAs…) that pages place by reference, so one edit updates every page using them; inline blocks live inside a page's data and are not listed. kind 'global': singletons (header, footer, site settings…), which are neither in the page tree nor blocks, so this is the only way to enumerate them. Edit any of them with get_content/update_content on its documentId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which kind of content to list. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. |