launch_script
Run a Python/pwntools script in WSL2 and get its output, return code, or a new GDB session ID if it launches GDB with the MCP plugin.
Instructions
Launch a Python (typically pwntools) script inside WSL2. script
must be an absolute Windows or WSL file path; inline code is not
supported. If the script starts gdb with the MCP plugin loaded (via
gdb_args/gdbscript), the new gdb session id is returned once it
registers. A script that exits without gdb returns immediately with
its state, return code, and log tail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| distro | No | ||
| python | No | python3 | |
| script | Yes | ||
| attach_timeout_ms | No |