The shell tool gives models the ability to work inside a complete terminal environment. We support shell for local execution and for hosted execution through the Responses API. The shell tool lets models run commands through either: Hosted shell containers managed by OpenAI. A local shell runtime that you host and execute yourself. Shell is available through the Responses API. It’s not available v

