Coda Publish Doc
coda_publish_docPublish 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
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Publishing mode. One of 'view', 'play', or 'edit' | |
| slug | No | URL slug for the published doc | |
| doc_id | Yes | The doc ID to publish | |
| discoverable | No | 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. | |
| category_names | No | Category names for the published doc (from coda_list_categories) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |