ingest_design_doc_draft
Saves the project's DESIGN.md from client draft JSON after preparation, converting theme, tone, and page requests into the design document.
Instructions
Ingests the client-generated DESIGN.md draft and saves DESIGN.md.
Call AFTER prepare_design_doc_draft with the draft JSON you generated.
Args: project_id: Project ID (required). draft_json: Draft JSON (theme + tone + anti_slop + page_requests) from the client. color_theme: Color theme (stored into the theme).
Returns: JSON with project_id and design_doc_path.
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": {
"project_id": "<project_id>",
"draft_json": "<draft_json>"
},
"name": "ingest_design_doc_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_json | Yes | ||
| project_id | Yes | ||
| color_theme | No | dark |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |