Skip to content

ShellCallResultItem

type ShellCallResultItem = object;
optional caller?:
| {
type: "direct";
}
| {
callerId: string;
type: "program";
};
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.

optional maxOutputLength?: number;
output: object[];
[key: string]: unknown
optional providerData?: Record<string, any>;

Additional optional provider specific data. Used for custom functionality or model provider specific fields.

optional status?: "in_progress" | "completed" | "incomplete";
type: "shell_call_output";