Callback type for checking if a tool invocation accesses a memory file.
typedef MemoryFileAccessChecker = bool Function(String toolName, dynamic input);