launch
Start and attach to a PyWebView Qt app by argv from an absolute cwd and return the session_id required by all other driver tools.
Instructions
Start here: launch a PyWebView (Qt) app by argv from an absolute cwd, then call snapshot. Use the project's own interpreter, e.g. ["uv","run","python","main.py"]. Returns session_id needed by all other tools. No shell expansion; isolated temporary profile; reload off unless reload_config is given. Set readiness.bridge=false for apps without js_api. Call get_guide(quickstart) for details.
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": {
"argv": "<argv>",
"cwd": "<cwd>"
},
"name": "launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| env | No | ||
| argv | Yes | ||
| target | No | ||
| timeout | No | ||
| readiness | No | ||
| profile_mode | No | temporary | |
| reload_config | No |