Source code for data_juicer_agents.tools.process.execute_shell_command.input
# -*- coding: utf-8 -*-
"""Input models for execute_shell_command."""
from __future__ import annotations
from pydantic import BaseModel, Field
[docs]
class ExecuteShellCommandInput(BaseModel):
command: str = Field(description="Shell command to execute.")
timeout: int = Field(default=120, ge=1, description="Timeout in seconds.")