{# ============================================================ WebMCP — the site's agent tools for the admin area ------------------------------------------------------------ Included by BOTH admin shells: admin/base.html and the visual page builder (admin/pages/builder.html), so an agent — and the built-in assistant panel, which calls the same tools — has the same tools wherever the person is working. A shell that already loaded builder-block-reference.js sets _block_reference_loaded before including this file. ============================================================ #} {%- if settings.get('webmcp_admin_enabled', 'false') == 'true' %} {%- if not _block_reference_loaded %} {%- endif %} {%- endif %}