Ensure environment
ris_ensure_envEnsure a conda environment exists for a project, building it automatically if missing. Preview with dry-run by default, then confirm to build.
Instructions
Make sure a conda environment exists for a project, building it automatically (PyTorch on the CUDA-12.4 wheels by default) if missing — zero manual steps. dryRun preview by default; confirm to build.
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": {
"project": "<project>"
},
"name": "ris_ensure_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| python | No | 3.11 | |
| account | No | ||
| confirm | No | ||
| envName | No | torch | |
| profile | No | Named profile from ~/.risbridge-mcp/config.json. Omit for the default. | |
| project | Yes | Project name; becomes one directory under the storage workspace. | |
| packages | No | ||
| framework | No | pytorch |