org.llm4s.toolapi.builtin.shell.ShellConfig
See theShellConfig companion object
case class ShellConfig(allowedCommands: Seq[String], workingDirectory: Option[String], timeoutMs: Long, maxOutputSize: Int, environment: Map[String, String])
Configuration for shell command tool.
Value parameters
- allowedCommands
-
List of allowed command names (e.g., "ls", "cat", "echo"). If empty, no commands are allowed.
- environment
-
Additional environment variables to set.
- maxOutputSize
-
Maximum output size in characters.
- timeoutMs
-
Maximum execution time in milliseconds.
- workingDirectory
-
Optional working directory for command execution.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article