start_kernel
Initialize a persistent Jupyter kernel for executing code in Python, TypeScript, or JavaScript, using a specified runtime executable path.
Instructions
Start a new Jupyter kernel with persistent state for code execution.
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": {
"env_path": "<env_path>"
},
"name": "start_kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_path | Yes | Full path to language runtime executable (e.g., /usr/bin/python3, /usr/bin/node) | |
| language | No | Programming language for the kernel (python, typescript, or javascript). Defaults to python for backward compatibility. | python |
| kernel_id | No | Custom kernel identifier (auto-generated if not provided) | |
| python_env | No | DEPRECATED: Use env_path instead. Full path to Python executable for backward compatibility. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ||
| success | Yes | ||
| message | Yes | ||
| timestamp | Yes | ||
| error | No |