Skip to main content

PTY_SHELL_STOP_TOOL

Constant PTY_SHELL_STOP_TOOL 

Source
pub(crate) const PTY_SHELL_STOP_TOOL: &str = r#"{
  "name": "PtyShellStop",
  "description": "Release your lock on a PtyShell() immediately, returning keyboard control to the user right away instead of waiting a few seconds for it to expire on its own. Does NOT kill the shell or the process — it's the user's own persistent terminal, not something this tool owns; it keeps running exactly as if a human had just stopped typing. Call this as soon as you're done with a burst of interactive work.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "shell_id": { "type": "string", "description": "The shell_id returned by a prior PtyShell() call" }
    },
    "required": ["shell_id"]
  }
}"#;