create_draft
Stores a draft website in the user's Scopeweb portfolio and returns a persistent draft_id and a live preview_url. For when the user wants a page, site or landing draft for a name and none exists yet. Drafts persist across conversations. Content is screened on every version; a flagged draft is still stored, but its preview serves HTTP 451. Cannot spend money.
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": {
"files": "<files>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | A domain your account has proven it owns and attached as a draft host (POST /agency-hosts). With label, the draft is also published at https://{label}.{host}, noindex and with no Scopeweb banner. Send host and label together. | |
| slug | No | Readable word for the preview address. Scopeweb adds a 3-character random tag, so ninkasi is served at https://ninkasi-k7q.scopedraft.dev. 3 to 36 lowercase letters, digits and single hyphens. Optional: derived from name_hint when omitted. Names that imitate login, payment or brand pages are refused. | |
| files | Yes | Site files. index.html required for a browsable preview. | |
| label | No | The address on host, for example ninkasi for ninkasi.example.com. 3 to 40 lowercase letters, digits and single hyphens; names that imitate login, payment or brand pages are refused. | |
| name_hint | No | Working name for the project | |
| description | No | One paragraph on what this is |