Skip to main content
Glama

Coda Publish Doc

coda_publish_doc

Publish a Coda doc to make it publicly accessible.

Instructions

Publish a Coda doc to make it publicly accessible.

Publishes the doc with optional gallery listing and URL slug. Publishing alone makes the doc public by link; setting discoverable=True is a separate, more public step that lists it in the Coda gallery. Use coda_unpublish_doc to revert. Returns the published doc's URL and settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoPublishing mode. One of 'view', 'play', or 'edit'
slugNoURL slug for the published doc
doc_idYesThe doc ID to publish
discoverableNoWhether the doc is listed in the public Coda gallery. Defaults to False — publishing alone makes the doc reachable by URL; set True to list it.
category_namesNoCategory names for the published doc (from coda_list_categories)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.0
    • changedInput schema / properties / discoverable / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / discoverable / description
      Previous value: -"Whether the doc is discoverable in the Coda gallery"New value: +"Whether the doc is listed in the public Coda gallery. Defaults to False — publishing alone makes the doc reachable by URL; set True to list it."
    • changedInput schema / properties / mode / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "view",
      +      "play",
      +      "edit"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / mode / description
      Previous value: -"Publishing mode (e.g. 'view', 'play', 'edit')"New value: +"Publishing mode. One of 'view', 'play', or 'edit'"
  2. First observedv0.4.14

TDQS

Score is being calculated.