class CommandRunnerTool(BaseTool):
name = "CommandRunnerTool"
description = "Tool to execute a shell command. Returns the STDOUT and STDERR from the executed command."
args_schema = CommandRunnerInput
def __init__(self):
super().__init__()
self.args_schema = CommandRunnerInput
def _run(self, command: str) -> str:
"""
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.