Create draft document
create_documentCreates a draft Markdown document in Content Studio, from Markdown text or by converting a web page (source_url) to Markdown. Drafts are not public until publish_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code, e.g. en, pl. Defaults to the site language. | |
| site | No | Site domain, e.g. example.com (see list_sites). Optional when the account has one site. | |
| slug | No | Defaults to a slug of the title | |
| title | No | ||
| markdown | No | Markdown body (YAML frontmatter allowed) | |
| source_url | No | Page to convert to Markdown instead of markdown | |
| description | No |