find_venv
Locate the python binary of a virtual environment in the current directory. Checks .venv, venv, and env folders to return a path for use with run_python_in_venv.
Instructions
Locate a virtual environment in the REPL's current directory.
Checks, in order: .venv/, venv/, env/. Returns the path to the
python binary if found, so it can be fed directly to
run_python_in_venv.
Args:
repl_id: REPL whose cwd to search under.
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": {
"repl_id": "<repl_id>"
},
"name": "find_venv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repl_id | Yes |