(toolName: string)
| 181 | // ============ Tool Execution ============ |
| 182 | |
| 183 | export 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 | |
| 192 | export async function executeFileTool( |
| 193 | toolName: string, |