MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / isFileTool

Function isFileTool

apps/webuiapps/src/lib/fileTools.ts:183–190  ·  view source on GitHub ↗
(toolName: string)

Source from the content-addressed store, hash-verified

181// ============ Tool Execution ============
182
183export function isFileTool(toolName: string): boolean {
184 return (
185 toolName === 'file_read' ||
186 toolName === 'file_write' ||
187 toolName === 'file_list' ||
188 toolName === 'file_delete'
189 );
190}
191
192export async function executeFileTool(
193 toolName: string,

Callers 1

runConversationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected