Skip to main content
Glama

publish_multiple

Publish multiple content items simultaneously in LightCMS to streamline content deployment. Use specific IDs or publish all drafts at once instead of individual calls.

Instructions

Publish multiple content items in a single call. Use this instead of calling publish_content in a loop.

Examples:

  • Publish specific pages: {"ids": ["abc123", "def456"]}

  • Publish all drafts at once: {"publish_all_drafts": true}

Returns a list of published IDs and any failures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoList of content IDs to publish. Mutually exclusive with publish_all_drafts.
publish_all_draftsNoIf true, publish every unpublished (draft) content item in the site

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/jonradoff/lightcms'

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