ToolOutcomeDecoder
Unpublished development API. This package is under development and is not available as a published release.
Decodes one tool's declared result schema. Return undefined for anything it does not recognise.
import type { ToolOutcomeDecoder } from '@threadplane/react/chat';Declaration
export type ToolOutcomeDecoder = (call: ToolOutcomeCall) => ToolActivityOutcome | undefined;