CheckedTools
Unpublished development API. This package is under development and is not available as a published release.
Rejects unsupported inferred data without widening to any or unknown.
import type { CheckedTools } from '@threadplane/core/tools';Declaration
export type CheckedTools<T extends Record<string, FunctionToolDefinition>> = {
[K in keyof T]: FunctionTool<Parameters<T[K]['handler']>[0], Awaited<ReturnType<T[K]['handler']>>>;
};Type parameters
TRecord<string, FunctionToolDefinition>