Rewrite a report the extension already holds
qa_report_editReads and replaces the building blocks of an existing QA report, then rebuilds it under the same name so one document stays on the shelf instead of near copies.
Instructions
EDIT A FINISHED DOCUMENT: read the blocks it was built from, change them, and build it again UNDER THE SAME NAME — so the shelf keeps one document rather than a family of near copies. This is the same operation the person does in the report editor. Call it with only a name to read the blocks back; pass blocks to replace them. The run’s own context — the address, the moment, the conditions the application was under — is carried over from the original and cannot be rewritten here, because those are facts about the run rather than about the wording. A report saved before its source was kept has nothing to edit, and says so.
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": {
"name": "<name>"
},
"name": "qa_report_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | From qa_reports. | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| blocks | No | The document’s new contents, in order. Omit to read the current ones. |