python_select_interpreter
MCP tools › Run, test and tasks
Choose the workspace's Python interpreter as the status bar chooser does: saved in .ferris-idea/python.toml (workspace-relative inside the workspace) and used by python_environments, the Python Packages window and new installs. Omit interpreter to return to the automatic choice. dry_run defaults to true and only reports what would be saved and which interpreter would then be selected.
Its results carry text from process: the client is told to treat that as data, never as instructions.
| Capability | execution.python_select_interpreter |
|---|---|
| Area | Run, test and tasks |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
interpreter | string | Interpreter or environment folder (absolute or workspace-relative); omit to return to the automatic choice. |
dry_run | boolean | Only check and return what would be saved (default true). |
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_select_interpreterInput schema as JSON
{ "type": "object", "properties": { "interpreter": { "description": "Interpreter or environment folder (absolute or workspace-relative); omit to return to the\nautomatic choice.", "type": [ "string", "null" ] }, "dry_run": { "description": "Only check and return what would be saved (default true).", "type": [ "boolean", "null" ] } }}