restart
Resets the IPython kernel by terminating any running execution, stopping the old kernel, and starting a replacement to clear state and return the new kernel status and PID.
Instructions
重启 IPython kernel。
重置边界
若存在 running execution,它会先被终止;随后旧 kernel 停止并创建替代 kernel。
Returns: 新 kernel 的状态与 PID;重启失败时返回 workspace 或 kernel 启动错误。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||