set_sentinel
Change the sentinel command for a terminal session to match the current shell or REPL, ensuring accurate prompt detection when switching between environments.
Instructions
Change the sentinel command for a session. Use when switching between shells/REPLs (e.g., from bash to python).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| sentinel_command | Yes | New sentinel command template. Use {sentinel} placeholder. Examples: 'echo {sentinel}' (bash), "print('{sentinel}')" (python) |