Skip to content

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.

Capabilityexecution.python_select_interpreter
AreaRun, test and tasks
Accesschanges files
Reaches—
Rightswrite
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
interpreterstringInterpreter or environment folder (absolute or workspace-relative); omit to return to the automatic choice.
dry_runbooleanOnly 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.

Terminal window
ferris-idea call ~/my-project python_select_interpreter
Input 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"
]
}
}
}