diff --git a/astrbot/core/tools/computer_tools/shell.py b/astrbot/core/tools/computer_tools/shell.py index 03bc420b4..11f1692c5 100644 --- a/astrbot/core/tools/computer_tools/shell.py +++ b/astrbot/core/tools/computer_tools/shell.py @@ -58,16 +58,16 @@ class ExecuteShellTool(FunctionTool): "type": "string", "description": "The shell command to execute in the current runtime shell (for example, cmd.exe on Windows). Equal to 'cd {working_dir} && {your_command}'.", }, - "timeout": { - "type": "integer", - "description": "Optional timeout in seconds for the command execution.", - "default": 300, - }, "background": { "type": "boolean", "description": "Run the command in the background. Use the file read tool to read the output later.", "default": False, }, + "timeout": { + "type": "integer", + "description": "Optional timeout in seconds for the command execution.", + "default": 300, + }, "env": { "type": "object", "description": "Optional environment variables to set.",