Create a preview site
create_previewCreates a temporary preview site from pages already converted to markdown, and returns its link and its draft_id. The preview belongs to no one until somebody keeps it, and expires if nobody does. The result says what to check, page by page, before the link is shared. It is the tool for content that has no site yet. A preview's pages are then changed with apply_edit and its draft_id; claim_draft keeps it, and publish keeps and publishes it in one call. A kept site is changed with propose_edit and apply_edit. It takes one entry per page; a record of where the content came from, exactly as it happened: a code repository, a documentation site, a product landing page, writing supplied in this conversation, a file attached to it, or nothing, when it was drafted from what the person described, with the address when there is one; the product's name; and, when the source shows one, the address of its logo. It reads no source itself: a call with no pages is answered with what to send instead. A source past the preview's page or size limit is refused, and the answer gives the limits. Which pages come over from a source with many pages is the person's choice, made after they see what was found and before it is converted: everything, one part, or a new structure. When they have already named the pages, that choice is made. Pages arrive finished, with no notes, placeholders, open questions or marks. A page with a note to its author, such as [GAP], [?] or TODO, is refused. Where the source is silent, a page carries the best answer and what was assumed is said in the conversation. On a legal page, the business's legal name, its address, the country whose law applies and who else handles its customers' data come only from the person or their source; a page missing one of them still reads complete without it, and what was assumed is said in the conversation. The page list is short: every page should be one a reader would open on its own; contact details and short notes belong inside another page. Every page, title and heading is in the site's language, passed as languages, like ["de"]. A translated copy is every page again, translated, at the same address under // (/es/guides/setup), with its code listed after the site's own.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "create_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | The pages, already converted to markdown. One entry per page. | |
| source | Yes | Where this content came from, exactly as it happened. | |
| logo_url | No | A direct https address of the product's logo as the source shows it in its header — the mark, not a banner or a picture made for social media. Leave it out if the source has none. | |
| languages | No | The site's language as a code, like en, ru or pt-BR — the language every page, title and heading is written in. | |
| site_name | No | The name of the product or company the site is about, as the source writes it. It is shown at the top of every page. | |
| attribution | No | The code a starter prompt gives to pass here, when the conversation began from one. Leave it out otherwise. | |
| logo_shows_name | No | true when the logo image itself spells the name, so the name is not printed again beside it. Leave it out otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caps | No | ||
| created | No | ||
| summary | No | ||
| draft_id | No | ||
| next_steps | No | ||
| preview_url | No | ||
| short_pages | No | ||
| no_front_page | No | ||
| page_problems | No | ||
| pages_created | No | ||
| rights_notice | No | ||
| before_sharing | No | ||
| fetched_source | No | ||
| bytes_submitted | No | ||
| notes_to_author | No | ||
| pages_submitted | No | ||
| expires_in_hours | No |