Files
Zacharias-Brohn bcebaed78f changes
2026-01-14 22:36:22 +01:00

14 lines
265 B
TypeScript

/**
* Tool types and interfaces
*/
// Tool execution result
export interface ToolResult {
success: boolean;
result?: string;
error?: string;
}
// Tool handler function type
export type ToolHandler = (args: Record<string, unknown>) => Promise<ToolResult>;