File size: 198 Bytes
57e16da
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
export interface Tool<Input, Output> {
	name: string;
	description: string;
	examples: Array<{
		prompt: string;
		command: string;
	}>;
	call: (input: Promise<Input> | Input) => Promise<Output>;
}