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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kernel_discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |