28 lines
794 B
TypeScript
28 lines
794 B
TypeScript
export type ExecutionToolKind = "execution" | "analysis";
|
|
|
|
export type ExecutionToolName =
|
|
| "conversation_reply"
|
|
| "group_dispatch_plan"
|
|
| "dispatch_execution"
|
|
| "attachment_analysis"
|
|
| "browser_control"
|
|
| "desktop_control";
|
|
|
|
export interface ExecutionToolDefinition {
|
|
name: ExecutionToolName;
|
|
kind: ExecutionToolKind;
|
|
}
|
|
|
|
const EXECUTION_TOOLS: readonly ExecutionToolDefinition[] = [
|
|
{ name: "conversation_reply", kind: "execution" },
|
|
{ name: "group_dispatch_plan", kind: "execution" },
|
|
{ name: "dispatch_execution", kind: "execution" },
|
|
{ name: "browser_control", kind: "execution" },
|
|
{ name: "desktop_control", kind: "execution" },
|
|
{ name: "attachment_analysis", kind: "analysis" },
|
|
] as const;
|
|
|
|
export function listExecutionTools() {
|
|
return EXECUTION_TOOLS;
|
|
}
|