changes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 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>;
|
||||
Reference in New Issue
Block a user