@bettercms-ai/mcp 0.83.4 → 0.83.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6090,7 +6090,7 @@ ${notes.join("\n")}` : summary, created);
|
|
|
6090
6090
|
name: "set_page_content",
|
|
6091
6091
|
config: {
|
|
6092
6092
|
title: "Set a page's field values (content)",
|
|
6093
|
-
description: "Set a page's field VALUES \u2014 the actual content. For a SINGLETON page (Home, About, Site Settings) this creates or updates its one entry, so call it again to edit. `data` is keyed by field key: a nested 'array' (zone) value is an OBJECT { nonRepeatable: { childKey: value }, repeatable: [ { childKey: value } ] }; a primitive 'array' is a plain list; an 'image' value is an asset URL or { url, altText?, focal?, crop? } \u2014 focal {x,y} and crop {top,right,bottom,left} (0\u20131, cut from each edge) frame THIS placement only. Read the schema first with get_page. This is how you populate Home/About/Settings \u2014 create_content_entry is for dynamic collections only. Merges by top-level key (a zone value replaces that whole zone); pass replace:true to remove omitted fields.",
|
|
6093
|
+
description: "Set a page's field VALUES \u2014 the actual content. For a SINGLETON page (Home, About, Site Settings) this creates or updates its one entry, so call it again to edit. `data` is keyed by field key: a nested 'array' (zone) value is an OBJECT { nonRepeatable: { childKey: value }, repeatable: [ { childKey: value } ] }; a primitive 'array' is a plain list; an 'image' value is an asset URL or { url, altText?, focal?, crop? } \u2014 focal {x,y} and crop {top,right,bottom,left} (0\u20131, cut from each edge) frame THIS placement only. Read the schema first with get_page. This is how you populate Home/About/Settings \u2014 create_content_entry is for dynamic collections only. Merges by top-level key (a zone value replaces that whole zone); pass replace:true to remove omitted fields. A moved (componentized) field writes to its block; an unowned one is refused (409).",
|
|
6094
6094
|
inputSchema: setPageContentInput.shape
|
|
6095
6095
|
},
|
|
6096
6096
|
handler: guard(
|
|
@@ -6401,6 +6401,7 @@ ${notes.join("\n")}` : summary, created);
|
|
|
6401
6401
|
sectionType: cmp.sectionType,
|
|
6402
6402
|
status: cmp.status,
|
|
6403
6403
|
group: cmp.groupName,
|
|
6404
|
+
...cmp.ownership ? { ownership: cmp.ownership } : {},
|
|
6404
6405
|
...cmp.builtin ? { builtin: true } : {}
|
|
6405
6406
|
}))
|
|
6406
6407
|
);
|