AskToolDef
Defines a schema-backed Angular tool view that resolves through a rendered user interaction.
import type { AskToolDef } from '@threadplane/chat';Declaration
export interface AskToolDef<S extends StandardSchemaV1 = StandardSchemaV1, C = unknown> {
readonly component: Type<C>;
readonly description: string;
readonly followUp?: boolean;
readonly kind: 'ask';
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: 'ask';schema
readonly schema: S;