Skip to main content

PTY_SHELL_STATUS_TOOL

Constant PTY_SHELL_STATUS_TOOL 

Source
pub(crate) const PTY_SHELL_STATUS_TOOL: &str = r#"{
  "name": "PtyShellStatus",
  "description": "Query whether a PtyShell() is still running, and its exit code once it has ended.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "shell_id": { "type": "string", "description": "The shell_id returned by a prior PtyShell() call" }
    },
    "required": ["shell_id"]
  }
}"#;