File size: 462 Bytes
564e576
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { ToolResultStatus } from "$lib/types/Tool";
import type { BackendTool } from ".";

const directlyAnswer: BackendTool = {
	name: "directly_answer",
	isOnByDefault: true,
	isHidden: true,
	isLocked: true,
	description: "Use this tool to let the user know you wish to answer directly",
	parameterDefinitions: {},
	async *call() {
		return {
			status: ToolResultStatus.Success,
			outputs: [],
			display: false,
		};
	},
};

export default directlyAnswer;