run_in_venv
Execute a command within a Python virtual environment, returning success status. Use to run scripts or tools isolated in a specific venv.
Instructions
Run a command in virtual environment. Returns True if successful.
Args: command: Command to run. args: Arguments to pass to the command.
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": {
"current_working_dir": "<current_working_dir>",
"command": "<command>"
},
"name": "run_in_venv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_working_dir | Yes | ||
| command | Yes | ||
| args | No |