langchain.js
    Preparing search index...

    Interface ShellResult

    Result of executing shell commands. Contains an array of outputs (one per command) and the max_output_length parameter.

    interface ShellResult {
        maxOutputLength?: null | number;
        output: ResponseFunctionShellCallOutputContent[];
    }
    Index

    Properties

    maxOutputLength?: null | number

    The max_output_length from the action, which must be passed back to the API. If not provided in the action, can be omitted.

    output: ResponseFunctionShellCallOutputContent[]

    Array of command outputs. Each entry corresponds to a command from the action. The order should match the order of commands in the action.