Turn the draft into the document
qa_draft_buildBuilds a hand-written QA draft into a self-contained HTML report, keeping it in the extension by default or producing a non-saved preview.
Instructions
BUILD THE DRAFT into a self-contained HTML report — the same assembly qa_report_build does and the same one the panel’s Build button runs, so a document written by hand and one written here are the same document. It is KEPT in the extension by default, which is how the person finds it in the panel an hour later; save: false builds a preview and keeps nothing. THE DRAFT IS ONLY EMPTIED IF THE DOCUMENT WAS REALLY KEPT. When the browser has no room the HTML still comes back and the lines stay where they were — losing the work and the built document in the same breath is the one outcome this must never have. It refuses for the reasons qa_report_build refuses, and the important one is NO PICTURE: a page of assertions about an application showing none of them is the artefact this product exists to replace.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qa_draft_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Write the HTML here as well. Without it the document comes back inline, which for a report with pictures in it is usually the wrong trade. | |
| name | No | Keep it under this name, replacing a document of the same name rather than leaving a stale twin above it. | |
| save | No | false builds it without keeping anything — a preview. Default is to keep it. | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab |