jupyter_execute
Execute code on a Jupyter kernel through websocket channels. Provide kernel ID and code; timeout is optional.
Instructions
Execute code on a Jupyter kernel via Jupyter Server websocket channels.
Requires:
JUPYTER_BASE_URL
JUPYTER_TOKEN (optional)
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": {
"kernel_id": "<kernel_id>",
"code": "<code>"
},
"name": "jupyter_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ||
| code | Yes | ||
| timeout_s | No |