Limitations
- No interactive commands: The session can't run
vim,less, password prompts, or any command that waits for input on stdin. - No GUI applications: The session is command-line only.
- Session scope: Bash session state is client-side. Your application is responsible for maintaining the shell session between turns.
- Output limits: The API doesn't truncate tool results (an oversized request is rejected). Truncate large outputs in your application before returning them to Claude.
- No streaming: Output reaches Claude only when your application returns the
tool_resultin the next request.