python_pin
Specify a Python version for a project to lock its runtime environment, preventing version conflicts.
Instructions
Pin a Python version in a project.
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": {
"version": "<version>"
},
"name": "python_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Python version request. | |
| project_path | No | Optional project directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| message | Yes | ||
| success | Yes | ||
| version | Yes |