diff --git a/src/cai/tools/reconnaissance/generic_linux_command.py b/src/cai/tools/reconnaissance/generic_linux_command.py index 6c1274b8..81fbf0ba 100644 --- a/src/cai/tools/reconnaissance/generic_linux_command.py +++ b/src/cai/tools/reconnaissance/generic_linux_command.py @@ -99,10 +99,11 @@ def generic_linux_command(command: str = "", if stream and not call_id: call_id = str(uuid.uuid4())[:8] - # Run the command with the appropriate parameters + # Run the command with the appropriate parameters - pass the actual tool name! result = run_command(full_command, ctf=ctf, async_mode=async_mode, session_id=session_id, - timeout=timeout, stream=stream, call_id=call_id) + timeout=timeout, stream=stream, call_id=call_id, + tool_name="generic_linux_command") # For better output formatting, if we're in streaming mode, we can modify the output # to include any additional information needed while still preventing the duplicate panel