set_local_version
Set the Python version for the current directory by writing it to .python-version, ensuring project-specific interpreter selection.
Instructions
Set the local directory Python version (.python-version).
Args:
version: The version string to set locally (e.g., '3.12.2').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |