@threadplane/chatTypeAliasv0.3.4

ClientToolExecutionRecord

Prior durable execution state returned by a client-tool execution store.

import type { ClientToolExecutionRecord } from '@threadplane/chat';

Declaration

export type ClientToolExecutionRecord = {
    readonly status: 'executing';
} | {
    readonly status: 'done';
    readonly result: ClientToolResult;
} | {
    readonly status: 'failed';
    readonly result?: ClientToolResult;
};