A server-side code execution tool runs the model’s commands in the provider’s sandbox during your API request, so you don’t provision or secure a container. OpenAI, Anthropic, and Google run code for their own models. Our openrouter:shell tool runs commands for any model on the Responses and Messages APIs, and our openrouter:bash tool does the same on the Messages API.
Server-Side Code Execution Tools for AI Agents, Compared
calendar_today
October 5, 2026
domain
openrouter