qa.scenario_draft
Creates a draft test scenario from a recorded browser flow, leaving assertions and requirement source empty so candidate assertions can be promoted against real requirements.
Instructions
The recorded flow as a draft scenario. It is deliberately not compilable: assertions are empty and requirementSource is null, because those are the two things an agent must not invent. Candidate assertions are listed separately for a human or an agent to promote against a real requirement.
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": {
"id": "<id>",
"name": "<name>"
},
"name": "qa.scenario_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lowercase letters, numbers and hyphens, e.g. "todo-create". | |
| name | Yes | ||
| role | No | Auth role whose stored state the test should load. | |
| viewport | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| start_path | No | ||
| requirement_source | No | The requirement document this flow is tested against. |