list_variables
Retrieve all defined variables from a specified Jupyter kernel to inspect its namespace.
Instructions
List all variables currently defined in the specified kernel's namespace.
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>"
},
"name": "list_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_id | Yes | ID of the kernel to inspect variables from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| variables | Yes | ||
| count | Yes | ||
| timestamp | Yes | ||
| kernel_id | Yes |