mcp-easy-ai__wp_get_template
Gets a single block template or template part by ID with full content. type selects template (default) or template_part (header, footer and other reusable areas); the ID format is theme-slug//slug for both. Returns { id, slug, title, content, description, type, area, status, has_theme_file }; area is header, footer or uncategorized for template parts and an empty string for templates. Requires an active block theme (Full Site Editing). Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Whether `template_id` names a `template` (default) or a `template_part`. | template |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| template_id | Yes | The template or template part ID (e.g. theme-slug//template-slug). |