Skip to content

Commit adc7986

Browse files
Update apps/sim/tools/command/chat.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent c385c9f commit adc7986

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

apps/sim/tools/command/chat.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,15 @@ export const commandExecTool: ToolConfig<CommandInput, CommandOutput> = {
4747
shell: params.shell || '/bin/bash',
4848
}),
4949
},
50+
},
51+
52+
outputs: {
53+
stdout: { type: 'string', description: 'Standard output from the command' },
54+
stderr: { type: 'string', description: 'Standard error from the command' },
55+
exitCode: { type: 'number', description: 'Command exit code (0 = success)' },
56+
duration: { type: 'number', description: 'Execution time in milliseconds' },
57+
command: { type: 'string', description: 'The executed command' },
58+
workingDirectory: { type: 'string', description: 'The directory where command was executed' },
59+
timedOut: { type: 'boolean', description: 'Whether the command exceeded the timeout' },
60+
},
5061
};

0 commit comments

Comments
 (0)