Draw on a picture the tester can then edit
qa_shot_markAdd movable boxes, arrows, captions, and blur panes to saved QA screenshots without altering the clean image, so testers can edit or remove annotations later.
Instructions
ADD MARKS TO A SHOT ON THE SHELF. They are stored beside the clean image, never burned into it, so the tester can move them, resize them and delete them afterwards — and so you can read them back later. Coordinates are in IMAGE pixels; qa_screenshot returns a map of the page in exactly those pixels, so a box from the map can be passed straight through. Shapes: box round a region, arrow from one point to another, text for a caption with its own words, blur for a pane that makes what is under it unreadable. Weight is k; colour is one of the five the panel offers. A caption carries an optional to — the point it is ABOUT — and a leader line is then drawn from the plate to that point, in both the editor and the exported file. Give a box a caption with to set to the middle of that box and you get the callout a person would draw by hand; the tester can then drag the words anywhere and the line follows. A blur pane hides an address, a customer name or a staging token. It is applied when the picture is EXPORTED, copied or built into a report — the clean shot stays clean on the shelf, which is what lets the pane be moved and removed afterwards. Adds by default; pass replace: true to put your marks in place of everything on the picture — which is the destructive one, and it is opt-in for that reason. The reply is the STATE — how many marks the picture now carries and all of them in full — rather than the word «done».
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": {
"shot": "<shot>",
"marks": "<marks>"
},
"name": "qa_shot_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shot | Yes | The name from qa_shot_list | |
| marks | Yes | Up to 60. More than that covers the picture instead of marking it. | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| replace | No | Replace every existing mark instead of adding to them |