ShellCallResultItem
type ShellCallResultItem = object;Type Declaration
Section titled “Type Declaration”callId
Section titled “callId”callId: string;optional id: string;An ID to identify the item. This is optional by default. If a model provider absolutely requires this field, it will be validated on the model level.
maxOutputLength?
Section titled “maxOutputLength?”optional maxOutputLength: number;output
Section titled “output”output: objectOutputType<{ outcome: ZodDiscriminatedUnion<"type", [ZodObject<{ type: ZodLiteral<"timeout">; }, "strip", ZodTypeAny, { type: "timeout"; }, { type: "timeout"; }>, ZodObject<{ exitCode: ZodNullable<ZodNumber>; type: ZodLiteral<"exit">; }, "strip", ZodTypeAny, { exitCode: number | null; type: "exit"; }, { exitCode: number | null; type: "exit"; }>]>; stderr: ZodString; stdout: ZodString;}, ZodTypeAny, "passthrough">[];providerData?
Section titled “providerData?”optional providerData: Record<string, any>;Additional optional provider specific data. Used for custom functionality or model provider specific fields.
type: "shell_call_output";