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
| Tool Namespace | Prefix for the tool name (default: `shell`) |
60
+
| Default working directory | Working directory used when the agent does not provide one. Defaults to the host process CWD |
61
+
| Execution timeout (seconds) | Maximum seconds a command may run (default 30, max 1800) |
62
+
| Max output size (bytes) | Cap on stdout and stderr each (default 1 MiB). Output beyond this is truncated |
63
+
| Allow agent-supplied env vars | Whether the agent may add env vars per call (default off). Node-defined vars always take precedence when on |
64
+
| Environment variables | Variables injected into every command |
65
+
| Command allowlist | Regex patterns. If non-empty, the full command must match at least one pattern (re.fullmatch). Use `.*` for substring matches, e.g. `npm .*`|
Copy file name to clipboardExpand all lines: nodes/src/nodes/tool_shell/services.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@
56
56
"tool_shell.allowExternalEnv": {
57
57
"type": "boolean",
58
58
"title": "Allow agent-supplied env vars",
59
-
"description": "If enabled, the agent may inject additional environment variables per call. Variables defined in this node's config always take precedence.",
60
-
"default": true,
59
+
"description": "If enabled, the agent may inject additional environment variables per call. Variables defined in this node's config always take precedence. Defaults off because env vars like LD_PRELOAD, PATH, or NODE_OPTIONS can redirect command execution.",
60
+
"default": false,
61
61
"enum": [
62
62
[true, "Yes"],
63
63
[false, "No"]
@@ -91,7 +91,7 @@
91
91
},
92
92
"tool_shell.commandAllowlist": {
93
93
"title": "Command allowlist",
94
-
"description": "Regex patterns for allowed commands. A command must match at least one pattern to run. If empty, any command is allowed.",
94
+
"description": "Regex patterns for allowed commands. The full command string must match at least one pattern (re.fullmatch) to run; use .* for substring matching (e.g. 'npm .*'). If empty, any command is allowed.",
0 commit comments