status
Retrieve current workspace resolution, kernel PID, busy state, and recent execution details from the IPython workbench to monitor runtime conditions.
Instructions
返回 workspace、kernel 与最近执行记录的观察状态。
状态范围
还返回当前 IPython 工作台启动时解析的 workspace、其
workspace_resolution 来源类别、Python 解释器、kernel PID、kernel 是否已启动,以及 kernel 是否正忙。
workspace_resolution 只能是 launch_cwd 或explicit_config;
忙碌时 current_execution 是正在运行的正整数执行编号;
空闲时 recent_execution 是最近一次被接受的执行编号。
IPython 通过原生 ZMQ 协议连接,拥有完整能力。
Returns: 当前 IPython 工作台与 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": "status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||