Convert QTML to Playwright
convert_qtml_to_playwrightPersist all QTML contracts as projects/test cases, then request model-assisted Playwright generation that persists automation scripts. This is not deterministic compilation or a file-only editor action. Generation may enqueue asynchronous jobs; poll check_generation_status. Import is non-atomic and reports each contract/intent; partial imports skip generation.
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": {
"source": "<source>"
},
"name": "convert_qtml_to_playwright"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | QTML source text | |
| context | No | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| project_id | No | Existing project ID (omit to create a new project from QTML contract) |