coda_publish_doc
Publish a Coda doc to make it publicly accessible. Configure URL slug, viewing mode, and gallery discoverability.
Instructions
Publish a Coda doc to make it publicly accessible.
Publishes the doc with optional gallery listing and URL slug. The doc becomes accessible via a public URL. Use coda_unpublish_doc to revert. Returns the published doc's URL and settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Publishing mode (e.g. 'view', 'play', 'edit') | |
| slug | No | URL slug for the published doc | |
| doc_id | Yes | The doc ID to publish | |
| discoverable | No | Whether the doc is discoverable in the Coda gallery | |
| category_names | No | Category names for the published doc (from coda_list_categories) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |