List block templates
list_templatesList block theme templates and template parts (header, footer) to identify available WordPress theme structures. Works only for block themes; classic themes return nothing.
Instructions
List the block theme's templates (front-page, single, archive…) or template parts (header, footer). Block themes only — a classic theme returns nothing here, and you should use the theme file tools instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which to list. | template |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |