ipynb_set_kernel
Set the kernel specification for a Jupyter Notebook, including kernel name, display name, and language.
Instructions
Set kernel specification for a Jupyter Notebook (.ipynb).
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) kernel_name: Kernel name (e.g., 'python3') display_name: Display name (e.g., 'Python 3') language: Programming language (default: 'python')
Returns: Dict with 'success' or 'error' key
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": {
"ipynb_filepath": "<ipynb_filepath>",
"kernel_name": "<kernel_name>",
"display_name": "<display_name>"
},
"name": "ipynb_set_kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | python | |
| kernel_name | Yes | ||
| display_name | Yes | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||