create_proposal
Create a new proposal from plain Markdown content. Provide the proposal body as standard Markdown text (headings, paragraphs, lists, tables); the platform converts it into builder pages. Do not send JSON, HTML, or pre-structured page objects. Call set_website first, before drafting. If the workspace still has no website, the result shows a card where the user can add one or skip; the card then creates the document. If the user shares their own website in chat, pass it as websiteUrl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title of the proposal | |
| cardId | No | Sent only by the in-chat website card. Never set it yourself. | |
| markdown | Yes | The proposal body as plain Markdown text only (## headings, paragraphs, - lists, | tables |). Must NOT be JSON or a structured page object. | |
| renderType | No | Render type (default: document) | |
| websiteUrl | No | The user's website. Starts workspace brand and content extraction, then creates the proposal. Use their own site, not a client's. | |
| websitePromptResume | No | Continuation token sent only by the in-chat website card. Never set it yourself. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| title | Yes | ||
| status | Yes | ||
| proposalId | No | ||
| renderType | Yes |