ViewToolDef
Defines a schema-backed Angular tool view that the coordinator automatically acknowledges.
import type { ViewToolDef } from '@threadplane/chat';Declaration
export interface ViewToolDef<S extends StandardSchemaV1 = StandardSchemaV1, C = unknown> {
readonly component: Type<C>;
readonly description: string;
readonly followUp?: boolean;
readonly kind: 'view';
readonly schema: S;
}Type parameters
SStandardSchemaV1Default:StandardSchemaV1CDefault:unknown
Members
component
readonly component: Type<C>;description
readonly description: string;followUp
readonly followUp?: boolean;kind
readonly kind: 'view';schema
readonly schema: S;