jupyter_inspect
Returns the repr and type of a Python expression evaluated on a Jupyter kernel.
Instructions
Inspect an expression on a kernel using user_expressions (repr + type).
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>",
"expression": "<expression>"
},
"name": "jupyter_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ||
| expression | Yes | ||
| timeout_s | No |