Skip to main content
Glama

collections_items_update_items_live

Update and publish CMS collection items directly to your live Webflow site. Modify content and push changes without manual publishing steps.

Instructions

Update and publish existing items in a CMS collection directly to the live site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYesUnique identifier for the Collection.
requestYes

Implementation Reference

  • Registers the 'collections_items_update_items_live' MCP tool, including its input schema reference and inline async handler function. The handler calls the Webflow API to update and publish CMS collection items live.
    server.registerTool( "collections_items_update_items_live", { title: "Update Items Live", description: "Update and publish existing items in a CMS collection directly to the live site.", inputSchema: z.object({ collection_id: z .string() .describe("Unique identifier for the Collection."), request: WebflowCollectionsItemsUpdateItemsLiveRequestSchema, }), }, async ({ collection_id, request }) => { try { const response = await getClient().collections.items.updateItemsLive( collection_id, request, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Inline handler function for the tool that executes the Webflow API call to update items live in a CMS collection.
    async ({ collection_id, request }) => { try { const response = await getClient().collections.items.updateItemsLive( collection_id, request, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Zod schema defining the structure of the request for updating CMS collection items live, including items array with fields like id, fieldData, etc.
    export const WebflowCollectionsItemsUpdateItemsLiveRequestSchema = z.object({ items: z .array( z.object({ id: z.string(), cmsLocaleId: z .string() .optional() .describe("Unique identifier for the locale of the CMS Item."), lastPublished: z .string() .optional() .describe("Date when the item was last published."), lastUpdated: z .string() .optional() .describe("Date when the item was last updated."), createdOn: z .string() .optional() .describe("Date when the item was created."), isArchived: z .boolean() .optional() .describe("Indicates if the item is archived."), isDraft: z .boolean() .optional() .describe("Indicates if the item is a draft."), fieldData: z .record(z.any()) .and( z.object({ name: z.string().optional().describe("Name of the field."), slug: z .string() .optional() .describe( "URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug." ), }) ) .optional() .describe("Array of items to be updated."), }) ) .optional(), });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/webflow/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server