You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcp): wire page-level SET Title over MCP (ALTER PAGE)
Page-level SET (no `on` clause) previously rejected every property with a
generic "not yet supported". Wire SET Title onto the pg LightPage's top-level
`title` string (the same key CreatePage writes and pg_read_page returns), so
`alter page … set (Title = '…')` works over the MCP backend.
Url and the pop-up settings (PopupWidth/Height/Resizable/CloseAction) are not
part of the pg LightPage shape — its schema is additionalProperties:false, so
injecting those keys would make pg_patch_page reject the whole root-replace
patch (taking any bundled Title change with it). They are rejected at SET time,
before Save(), with an accurate message, so they never poison the content tree;
set them in Studio Pro.
Also refresh PED_MCP_CAPABILITIES.md (pg_write_page → pg_patch_page in the
ALTER PAGE paragraph, page-level SET Title documented) and capabilities.yaml.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: mdl/backend/mcp/capabilities.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ features:
45
45
- key: pages
46
46
feature: "Pages"
47
47
available: true
48
-
note: "CREATE + ALTER (widget coverage grows per type)"
48
+
note: "CREATE + ALTER (widget coverage grows per type); ALTER page-level SET Title (maps onto the pg LightPage's top-level title). Url and pop-up settings (PopupWidth/Height/Resizable/CloseAction) are NOT on the pg LightPage shape (schema is additionalProperties:false) — set them in Studio Pro"
0 commit comments