kernel_discover
Locate available Jupyter kernel specs and project virtual environments to identify which Python environments can run code, returning kernel names and venv paths ready for use with kernel_start.
Instructions
Discover available Jupyter kernel specs and project venvs.
Returns a list of dicts with keys: name, display_name, language, source. Use the "name" value as the kernel_name argument to kernel_start.
If scan_dir is provided, also checks for a .venv with ipykernel installed at that path and includes it as a "venv:" entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |