qt_detach
Disconnect from a Qt process session to end remote control. Optionally purge to eject the injected DLL and remove session files, freeing the library for rebuilding.
Instructions
Disconnect from a Qt process session.
purge=True (default False) also ejects the injected DLL from the
target process and deletes the session's saved files (snapshots,
screenshots, session metadata) — irreversible. Use purge=True before
rebuilding the library: otherwise the DLL file stays locked by the
target process and qt_build fails. With purge=False the DLL stays
loaded in the target until that process exits.
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": {
"session_id": "<session_id>"
},
"name": "qt_detach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purge | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |