Launch App
launch_appLaunch a Python GUI script or system app with auto-focus and portal session binding, terminating any existing instance first to start a fresh, focused process.
Instructions
Launches a Python GUI script or system app with auto-focus and portal session binding.
If restart=True or if the app is already running, gracefully terminates the old process and launches a fresh instance.
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": {
"target": "<target>"
},
"name": "launch_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| args | No | ||
| target | Yes | ||
| restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||