websex_python
Execute inline Python source or a workspace-relative script file inside the engagement container to run custom automation and probes during authorized security testing.
Instructions
Run inline Python source or an engagement-relative Python file inside the WebSex container. Provide exactly one of source or path. Execution uses the WebSex Python environment and is asynchronous and client-cancellable.
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": {
"engagement_id": "<engagement_id>"
},
"name": "websex_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| stdin | No | ||
| source | No | ||
| environment | No | ||
| engagement_id | Yes | ||
| script_arguments | No | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||