python_environments
MCP tools › Run, test and tasks
Python interpreters for the workspace without starting any of them: virtual environments in the project, the active VIRTUAL_ENV/CONDA_PREFIX environment, pyenv versions and interpreters on PATH, with version and kind; which one is selected and why; whether it satisfies requires-python; installed packages of the selected environment; declared dependencies that are missing or have a non-matching version; test framework and a suggested test run configuration.
Its results carry text from process: the client is told to treat that as data, never as instructions.
| Capability | execution.python_environments |
|---|---|
| Area | Run, test and tasks |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
interpreter | string | Interpreter or environment folder to use instead of the automatic choice (absolute or workspace-relative). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project python_environmentsInput schema as JSON
{ "type": "object", "properties": { "interpreter": { "description": "Interpreter or environment folder to use instead of the automatic choice (absolute or\nworkspace-relative).", "type": [ "string", "null" ] } }}