You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Runs a Python, JavaScript, or shell snippet as a real subprocess inside this agent's own sandbox and returns stdout/stderr/exit code — sandboxed code-exec as a resident app, not a separately-bolted-on Docker/E2B executor. Inherits the same kernel-enforced capability policy as every other app here: no outbound network unless you declare it."
capabilities:
- filesystem:write:/workspace
exports:
- name: run_code
input: { language: string, code: string, timeout_ms: number }
# denials: possible sandbox refusals, [{ path, line }]: output lines with a
# permission error (EACCES, "Permission denied", "Operation not
# permitted") on an absolute path outside the workspace, even when the
# code caught the error and the run succeeded. Read from the output, so a
# possibility, not proof. Declaring it here is what lets `berth mcp`