data_juicer_agents.tools.process.execute_shell_command#

execute_shell_command tool package.

class data_juicer_agents.tools.process.execute_shell_command.ExecuteShellCommandInput(*, command: str, timeout: Annotated[int, Ge(ge=1)] = 120)[source]#

Bases: BaseModel

command: str#
timeout: int#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class data_juicer_agents.tools.process.execute_shell_command.GenericOutput(*, ok: bool = True)[source]#

Bases: BaseModel

ok: bool#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

data_juicer_agents.tools.process.execute_shell_command.execute_shell_command(*, command: str, timeout: int = 120) Dict[str, Any][source]#